Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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.

share|improve this question
    
Try nslookup 185.111.111.192.in-addr.arpa. If that works, well, your nslookup isn't very smart :) –  Bill Weiss Feb 23 '10 at 20:20
    
nope, same result –  matt wilkie Feb 25 '10 at 17:46

2 Answers 2

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:

net ads dns register

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.

share|improve this answer
    
I don't know if there is a PTR. When I add windows machine to the domain reverse lookup works, does that indicate the presence of one? I don't have admin access to the domain, and yes .222.44 is a Windows DNS. –  matt wilkie Feb 25 '10 at 17:52
up vote 0 down vote accepted

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 tool lw-update-dns without removing and rejoing the machine to the domain.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.