You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Eric Yang (JIRA)" <ji...@apache.org> on 2019/06/10 20:42:00 UTC

[jira] [Commented] (YARN-9613) Avoid remote lookups for RegistryDNS domain

    [ https://issues.apache.org/jira/browse/YARN-9613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16860316#comment-16860316 ] 

Eric Yang commented on YARN-9613:
---------------------------------

[~billie.rinaldi] If RegistryDNS is designated as DNS authoritative server for a domain, then RegistryDNS doesn't need to perform forward lookup for the records in the Hadoop domain.  I think we can introduce hadoop.registry.dns.soa.lookup=false.  If this option is set to true, RegistryDNS will perform upstream lookup for queries within hadoop.registry.dns.domain-name.

> 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
>            Priority: Major
>
> 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: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org