Share via


Host A Record not showing in DNS though nslookup is resolving hostname

Question

Thursday, September 15, 2016 9:57 AM

Hi whenever I am creating a new VM, it's not getting registered in DNS completely.

When I check on my DC ( also DNS ) I don't see an entry for my VM's Host A record, but then within my DC when I ping only the vm hostname it resolves to correct ip and nslookup to that ip also give full FQDN but strangely with my DC if I ping the FQDN... it is failing and saying can't find that name.

Can somebody please help me,.... what I am missing here, something must be wrong with my DNS or is it from the client machine(VM).

Please advise.

Regards,

eager2learn

All replies (7)

Thursday, September 15, 2016 12:08 PM ✅Answered

Sounds like either you have a Hosts file on your DC which contains an entry for the vm hostname, or your have WINS configured on running somewhere on the network and the vm hostname is registered in WINS but not registered in DNS.

Best Regards, Todd Heron | Active Directory Consultant


Thursday, September 15, 2016 1:55 PM

I have checked the hosts file... it's not having any entry.

Where do I check the WINS entry and how can I avoid using WINS. Please advise.


Thursday, September 15, 2016 2:03 PM

Look at an "ipconfig /all" output on the DC, see if it contains a line entry for WINS. 

Best Regards, Todd Heron | Active Directory Consultant


Friday, September 16, 2016 4:46 AM

Hi Eager,

Please check if you have enabled WINS server on DC as Todd mentioned.

Right-click zone, and click properties, select WINS tab, you could disabled WINS lookup.

Please reference picture below:

On DC, please run nslookup command, and then run set d2, last enter FQDN of VM to check if DNS server has queried VM’s FQDN.

On DC, please ensure preferred DNS server has pointed to DC address.

Best Regards

John

Please remember to mark the replies as answers if they help and unmark them if they provide no help.
If you have feedback for TechNet Subscriber Support, contact [email protected].


Monday, September 19, 2016 10:28 AM

okay... so I have got a WINS server name and the problem I can see is that.

Our DHCP Server is not in the same domain as of the DC & DNS and the DHCP server is also sending the some different DNS Server details( which has conditional forwarder set to our DNS) to the client machines when they are getting ip which is why I think it's causing an issue.

I would like to know one thing.... which DNS servers are being used when we run ipconfig /registerdns or when the computer restarts and try to register DNS by itself.

1) DNS Servers provided by the DHCP server

2) DNS Servers mentioned in the TCP/IP properties of IPv4

3) DNS server of the respective domain to which the machine is joined

4) Or from anywhere else which I missed to mention here.


Wednesday, September 21, 2016 6:20 AM

Hi Eager,

>> 1) DNS Servers provided by the DHCP server

If you have configured DHCP registered record to DNS server, when client obtain address DHCP will register record of client to DNS server.

If you manually register record by using command, it will be registered through DNS in TCP/IP properties.

4) Or from anywhere else which I missed to mention here.

When client joined the domain, it will be dynamically registered record to DNS server in domain.

Best Regards

John

Please remember to mark the replies as answers if they help and unmark them if they provide no help.
If you have feedback for TechNet Subscriber Support, contact [email protected].


Friday, September 30, 2016 8:41 AM

Hi,

Just want to confirm the current situations.

Please feel free to let us know if you need further assistance.

Best Regards,

John

Please remember to mark the replies as answers if they help and unmark them if they provide no help.
If you have feedback for TechNet Subscriber Support, contact [email protected].