Home / Function/ AuthoritativeDnsServerCache() — netty Function Reference

AuthoritativeDnsServerCache() — netty Function Reference

Architecture documentation for the AuthoritativeDnsServerCache() function in DnsNameResolverBuilder.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  66b26781_ab8d_f197_34af_8a12795a987f["AuthoritativeDnsServerCache()"]
  54712eb4_6c7f_7c8f_0a12_a9b74b0beceb["DnsNameResolverBuilder"]
  66b26781_ab8d_f197_34af_8a12795a987f -->|defined in| 54712eb4_6c7f_7c8f_0a12_a9b74b0beceb
  style 66b26781_ab8d_f197_34af_8a12795a987f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

resolver-dns/src/main/java/io/netty/resolver/dns/DnsNameResolverBuilder.java lines 598–608

   AuthoritativeDnsServerCache getOrNewAuthoritativeDnsServerCache() {
        if (this.authoritativeDnsServerCache != null) {
            return this.authoritativeDnsServerCache;
        }
        return new DefaultAuthoritativeDnsServerCache(
                intValue(minTtl, 0), intValue(maxTtl, Integer.MAX_VALUE),
                // Let us use the sane ordering as DnsNameResolver will be used when returning
                // nameservers from the cache.
                new NameServerComparator(DnsNameResolver.addressType(
                        DnsNameResolver.preferredAddressType(resolvedAddressTypes))));
    }

Subdomains

Frequently Asked Questions

What does AuthoritativeDnsServerCache() do?
AuthoritativeDnsServerCache() is a function in the netty codebase, defined in resolver-dns/src/main/java/io/netty/resolver/dns/DnsNameResolverBuilder.java.
Where is AuthoritativeDnsServerCache() defined?
AuthoritativeDnsServerCache() is defined in resolver-dns/src/main/java/io/netty/resolver/dns/DnsNameResolverBuilder.java at line 598.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free