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

There's a service on our local intranet that depends on the hostname mapping to the ip address, it is failing for a centos host inside of a virtual machine. I have set the virtual network adapter as bridged.

➜ ~ dig +short nikhil-vm
172.27.12.134 
➜ ~ dig +short -x 172.27.12.134 
ubuntu-server.xyz.com 

What can I do to fix this?

share|improve this question

1 Answer 1

Add a PTR record to your intranet's DNS server(s) specifying the desired hostname for that IP address.

For instance, for a BIND zone 12.27.172.in-addr.arpa:

134     IN      PTR     nikhil-vm.intranet.invalid.
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.