I have a computer on a windows Active Directory network for which reverse dns lookup fails. It doesn't matter which machine runs the lookup. The problem computer is a debian vm on a windows server 2003 host.
>nslookup wiki.dept
Server: primary.internal.domain.org
Address: 192.111.222.44
Name: wiki.dept.internal.domain.org
Address: 192.111.111.185
>nslookup 192.111.111.185
Server: primary.internal.domain.org
Address: 192.111.222.44
*** primary.internal.domain.org can't find 192.111.111.185: Non-existent domain
Contents of /etc/resolv.conf
on the debian guest:
nameserver 192.111.111.244
nameserver 192.111.222.44
search internal.domain.org
What is wrong? how do I get ip-to-name resolution to work for this machine? Thank you.
Do you have a reverse (PTR) zone created? Is 192.168.111.222.44 a Windows DNS?
You will need to specify the reverse record for 192.111.111.185 in some way.
Edit 1
Windows registers DNS. You could join your Linux workstation to the domain using SAMBA and register DNS, but that involves varying degrees of complication. The command, from what I understand to register DNS with SAMBA is:
Being as that you are not the administrator and the depth of the question you're asking, I'd suggest continuing this dialog with the administrator.
Depending upon what you are looking to accomplish, there may be simpler client-side workarounds.
I now have reverse lookup working, but am not entirely sure which bit-flip was the trick. The general process: ask an admin to remove the linux machine from the domain and then install [
likewise-open
. I believe, but am not positive, that it would have been sufficient to run the likewise-open toollw-update-dns
without removing and rejoining the machine to the domain.Update: Likewise-open was acquired by another company and the repo links have all changed. See the Ubuntu community wiki page LikewiseOpen.