Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My problem is that my Ubuntu machine seems to have its FQDN setup correctly, yet I cannot ping the FQDN from a windows machine on the same network.

Output of various commands on my Ubuntu machine:

hostname    : test
hostname -d :
hostname -f :

My Ubuntu version is 13.04.

Relevant line in /etc/hosts: test

Hosts line from /etc/nsswitch.conf:

hosts:        files dns

Line from /etc/dhcp/dhclient.conf:

send host-name = gethostname();

Now, my network uses Windows DNS servers and I found this bug report that contains what looks like a relevant issue. It was fixed in isc-dhcp - 4.2.4-1ubuntu10.2

Ubuntu 13.04 comes with 4.2.4-5ubuntu2

My question is: How do I get this to work so that the Windows DNS Server gets successfully updated with the IP address and FQDN of the ubuntu machine?

share|improve this question
Having a DNS resolve to runs afoul of the convention that means localhost, that is "this computer right here". – waltinator Jan 22 '15 at 19:51
that line was created by the Ubuntu installer. – Carl Jan 23 '15 at 1:14

Your Answer


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

Browse other questions tagged or ask your own question.