Billie Rinaldi created YARN-9613:
------------------------------------

             Summary: Avoid remote lookups for RegistryDNS domain
                 Key: YARN-9613
                 URL: https://issues.apache.org/jira/browse/YARN-9613
             Project: Hadoop YARN
          Issue Type: Bug
    Affects Versions: 3.1.2
            Reporter: Billie Rinaldi


A typical setup for RegistryDNS is for an upstream DNS server to forward DNS 
queries matching the hadoop.registry.dns.domain-name to RegistryDNS. If the 
RegistryDNS lookup gets a non-zero DNS RCODE, RegistryDNS performs a remote 
lookup in upstream DNS servers. For bad queries, this can result in a loop when 
the upstream DNS server forwards the query back to RegistryDNS.

To solve this problem, we should avoid performing remote lookups for queries 
within hadoop.registry.dns.domain-name, which are expected to be handled by 
RegistryDNS. We may also want to evaluate whether we should add a configuration 
property that allows the user to disable remote lookups entirely for 
RegistryDNS, for installations where RegistryDNS is set up as the last DNS 
server in a chain of DNS servers.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to