1827876 Members
1322 Online
109969 Solutions
New Discussion

Reverse name resolution

 
Sandile
Occasional Advisor

Reverse name resolution

Hi all
On my system when I do nslookup on hostnanme I do get the Ip 's attached to that host name .But when I do nslookup on Ip address I get name error.
Please help
Sandile
When days are dark friends are very few
8 REPLIES 8
harry d brown jr
Honored Contributor

Re: Reverse name resolution

It would help if we knew what the DNS server is. Is it defined to do such?

live free or die
harry
Live Free or Die
Dirk Wiedemann
Respected Contributor

Re: Reverse name resolution

Hello Sandile,

in the DNS server there must be two entries for every system. One entry is for name resolution (name --> ip), and one is for reverse name resolution (ip --> name). Seems that your dns tables are not up to date.

regards
Dirk
John Bolene
Honored Contributor

Re: Reverse name resolution

So do you do the DNS?

If so, you are missing the

db.reverse lookup files.

these will look like db.1.168.192 for a domain of 192.168.1

otherwise get in touch with your DNS admin
It is always a good day when you are launching rockets! http://tripolioklahoma.org, Mostly Missiles http://mostlymissiles.com
Ashwani Kashyap
Honored Contributor

Re: Reverse name resolution

laso try bouncing the named daemon on your DNS Server .
Rita C Workman
Honored Contributor

Re: Reverse name resolution

You might also check your /etc/hosts file.
See if there is an error there.

Just a thought,
Rita
Anil C. Sedha
Trusted Contributor

Re: Reverse name resolution

Hi Sandile,

I agree with someone who posted an answer earlier, that you need to have a reverse hostname resolution (host to ipaddress and ipaddress to host).

I think that should resolve your issues. This will happen only if you are getting the correct ipaddress when you do a nslookup for system name.

If you don't pls let us know.

Regards,
Anil
If you need to learn, now is the best opportunity
ASO CENTRAL
Advisor

Re: Reverse name resolution

Reverse lookup is often forgotten by DNS administrators, especially if the DNS server is based on a PC or designed primarily for PC usage. However, it is crucial to require your DNS server to provide reverse lookup. It is a serious security risk (IP address spoofing) to not have this feature and commands like remsh, rlogin, rcp will fail.
Sandile
Occasional Advisor

Re: Reverse name resolution

Hi all

Guys thanks very much for your support ,now it is working fine.Both dns files were there but now there was a problem with the named.boot file. I cleared the misprint there and now its working fine.
When days are dark friends are very few