Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Gethostbyaddr failing for private IP addresses

807559Jul 5 2007 — edited Jul 6 2007
We are having problems with reverse DNS resolution for our private IP addresses. We first noticed this when our syslog-ng was not displaying name in the log entries, but rather IP addresses.

Nslookup and dig reversed resolved the addresses fine, so we don�t think the issue is in DNS.

We further narrowed down the source of the problem when we wrote a small C program that called gethostbyaddr for the private address. This program also failed to reverse resolve the addresses.

We decided to snoop the traffic to our DNS server. What we saw was that no packets were being sent. In other words our Solaris server didn�t even try to query DNS for the reverse resolution.

Is there a flag or setting somewhere in Solaris that we can adjust to have reverse resolution for private IP addresses sent to our DNS servers?

Thanks�


Mike
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 3 2007
Added on Jul 5 2007
2 comments
132 views