You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2009/02/26 14:55:04 UTC

[jira] Updated: (HADOOP-5339) reverse DNS doesnt resolve local loop address 127.0.1.1

     [ https://issues.apache.org/jira/browse/HADOOP-5339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Loughran updated HADOOP-5339:
-----------------------------------

    Component/s: io
       Priority: Minor  (was: Major)

stack trace is a new test case for networking

	Caused an ERROR
DNS name not found [response code 3]
javax.naming.NameNotFoundException: DNS name not found [response code 3]; remaining name '1.1.0.127.in-addr.arpa'
	at com.sun.jndi.dns.DnsClient.checkResponseCode(DnsClient.java:596)
	at com.sun.jndi.dns.DnsClient.isMatchResponse(DnsClient.java:553)
	at com.sun.jndi.dns.DnsClient.doUdpQuery(DnsClient.java:399)
	at com.sun.jndi.dns.DnsClient.query(DnsClient.java:186)
	at com.sun.jndi.dns.Resolver.query(Resolver.java:64)
	at com.sun.jndi.dns.DnsContext.c_getAttributes(DnsContext.java:413)
	at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_getAttributes(ComponentDirContext.java:213)
	at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.getAttributes(PartialCompositeDirContext.java:121)
	at com.sun.jndi.toolkit.url.GenericURLDirContext.getAttributes(GenericURLDirContext.java:85)
	at javax.naming.directory.InitialDirContext.getAttributes(InitialDirContext.java:123)
	at org.apache.hadoop.net.DNS.reverseDns(DNS.java:72)
	at org.apache.hadoop.net.TestDNS.testRDNS(TestDNS.java:91)

> reverse DNS doesnt resolve local loop address 127.0.1.1
> -------------------------------------------------------
>
>                 Key: HADOOP-5339
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5339
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: io
>    Affects Versions: 0.21.0
>         Environment: at home, incomplete networking, exploring the consequences
>            Reporter: Steve Loughran
>            Priority: Minor
>
> if the local IPAddr is loopback, then reverse DNS lookup fails. It may be better to recognise this state and return localhost in such a situation, rather than try to look up 1.1.0.127.in-addr.arpa

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.