Name Description Size Coverage CI issues
ChildDNSService.cpp 16626 59 %
ChildDNSService.h 2737 100 %
DNS.cpp aPrefixToPreserve 15246 81 %
DNS.h address family (0x00ff maskable) 9196 100 %
DNSAdditionalInfo.cpp 577 100 %
DNSAdditionalInfo.h 1137 100 %
DNSByTypeRecord.h 2270 100 %
DNSListenerProxy.cpp 1868 92 %
DNSListenerProxy.h 1525 100 %
DNSLogging.h 742 -
DNSPacket.cpp 35612 79 %
DNSPacket.h 4494 100 %
DNSRequestBase.h 5440 69 %
DNSRequestChild.cpp 19160 57 %
DNSRequestChild.h 1414 80 %
DNSRequestParent.cpp 6631 92 %
DNSRequestParent.h 1555 80 %
DNSServiceBase.cpp 5717 92 %
DNSServiceBase.h 1216 100 %
DNSUtils.cpp 2449 50 %
DNSUtils.h 665 -
effective_tld_names.dat 338012 -
GetAddrInfo.cpp 25473 82 %
GetAddrInfo.h Look up a host by name. Mostly equivalent to getaddrinfo(host, NULL, ...) of RFC 3493. @param aHost[in] Character string defining the host name of interest @param aAddressFamily[in] May be AF_INET, AF_INET6, or AF_UNSPEC. @param aFlags[in] See nsIDNSService::DNSFlags @param aAddrInfo[out] Will point to the results of the host lookup, or be null if the lookup failed. @param aGetTtl[in] If true, the TTL will be retrieved if DNS provides the answers.. 4812 100 %
HostRecordQueue.cpp 8337 66 %
HostRecordQueue.h 3637 100 %
HTTPSSVC.cpp 19826 83 %
HTTPSSVC.h 4792 100 %
IDNBlocklistUtils.cpp 1858 56 %
IDNBlocklistUtils.h 1963 100 %
IDNCharacterBlocklist.inc 1365 -
LICENSE-NOTICE.txt 2043 -
metrics.yaml 23436 -
moz.build <p>This license applies to certain files in the directory <code>netwerk/dns/</code>.</p> 3459 -
NativeDNSResolverOverrideChild.cpp 1553 0 %
NativeDNSResolverOverrideChild.h 1444 0 %
NativeDNSResolverOverrideParent.cpp 3689 0 %
NativeDNSResolverOverrideParent.h 982 0 %
nsDNSService2.cpp 58399 72 %
nsDNSService2.h 4151 55 %
nsEffectiveTLDService.cpp 14606 95 %
nsEffectiveTLDService.h 2985 100 %
nsHostRecord.cpp 25080 89 %
nsHostRecord.h This class is used to notify listeners when a ResolveHost operation is complete. Classes that derive it must implement threadsafe nsISupports to be able to use RefPtr with this class. 14533 90 %
nsHostResolver.cpp aFromStaleCache = 70013 88 %
nsHostResolver.h nsHostResolver - an asynchronous host name resolver. 13770 69 %
nsIDNSAdditionalInfo.idl 435 -
nsIDNSByTypeRecord.idl Returns DNS request type that was made for this request. 4792 -
nsIDNService.cpp Implementation file 26950 98 %
nsIDNService.h Determine whether a label is considered safe to display to the user according to the algorithm defined in UTR 39. For the ASCII-only profile, returns false for all labels containing non-ASCII characters. For the other profiles, returns false for labels containing any of the following: Characters in scripts other than the "recommended scripts" and "aspirational scripts" defined in http://www.unicode.org/reports/tr31/#Table_Recommended_Scripts and http://www.unicode.org/reports/tr31/#Aspirational_Use_Scripts This includes codepoints that are not defined as Unicode characters Illegal combinations of scripts (@see illegalScriptCombo) Numbers from more than one different numbering system Sequences of the same non-spacing mark Both simplified-only and traditional-only Chinese characters XXX this test was disabled by bug 857481 3524 0 %
nsIDNSListener.idl nsIDNSListener 1188 -
nsIDNSRecord.idl nsIDNSRecord this interface represents the result of a DNS lookup. since a DNS query may return more than one resolved IP address, the record acts like an enumerator, allowing the caller to easily step through the list of IP addresses. 5286 -
nsIDNSService.idl nsIDNSService 15946 -
nsIEffectiveTLDService.idl Returns the public suffix of a URI. A public suffix is the highest-level domain under which individual domains may be registered; it may therefore contain one or more dots. For example, the public suffix for "www.bbc.co.uk" is "co.uk", because the .uk TLD does not allow the registration of domains at the second level ("bbc.uk" is forbidden). The public suffix will be returned encoded in ASCII/ACE and will be normalized according to RFC 3454, i.e. the same encoding returned by nsIURI::GetAsciiHost(). If consumers wish to compare the result of this method against the host from another nsIURI, the host should be obtained using nsIURI::GetAsciiHost(). In the case of nested URIs, the innermost URI will be used. @param aURI The URI to be analyzed @returns the public suffix @throws NS_ERROR_UNEXPECTED or other error returned by nsIIDNService::normalize when the hostname contains characters disallowed in URIs @throws NS_ERROR_HOST_IS_IP_ADDRESS if the host is a numeric IPv4 or IPv6 address (as determined by the success of a call to PR_StringToNetAddr()). 10733 -
nsIIDNService.idl IDN (Internationalized Domain Name) support. Provides facilities for manipulating IDN hostnames according to UTS #46 as parametrized by the WHATWG URL Standard. UTS #46: https://www.unicode.org/reports/tr46/ URL Standard: https://url.spec.whatwg.org/ 3091 -
nsINativeDNSResolverOverride.idl Adds an IP override for this specific host. 1153 -
nsITRRSkipReason.idl 7873 -
nsPIDNSService.idl This is a private interface used by the internals of the networking library. It will never be frozen. Do not use it in external code. 1038 -
PDNSRequest.ipdl 1100 -
PDNSRequestParams.ipdlh 1241 -
PlatformDNSAndroid.cpp 4274 0 %
PlatformDNSMac.cpp 5832 -
PlatformDNSUnix.cpp 2914 30 %
PlatformDNSWin.cpp 5340 13 %
PNativeDNSResolverOverride.ipdl 680 -
prepare_tlds.py Processes a file containing effective TLD data. See the following URL for a description of effective TLDs and of the file format that this script processes (although for the latter you're better off just reading this file's short source code). http://wiki.mozilla.org/Gecko:Effective_TLD_Service 4417 -
PTRRService.ipdl 955 -
<1%tests -
TRR.cpp 33432 88 %
TRR.h 5477 88 %
TRRQuery.cpp 12955 84 %
TRRQuery.h 3971 63 %
TRRService.cpp 49336 86 %
TRRService.h 14212 95 %
TRRServiceBase.cpp 11602 91 %
TRRServiceBase.h 4006 33 %
TRRServiceChild.cpp static 3829 0 %
TRRServiceChild.h 1661 0 %
TRRServiceParent.cpp 7649 0 %
TRRServiceParent.h 1804 0 %