Ubuntu 13.10: nslookup not automatically appending DNS suffixes

Posted by Alex on Server Fault See other posts from Server Fault or by Alex
Published on 2013-11-03T00:11:28Z Indexed on 2013/11/03 3:56 UTC
Read the original article Hit count: 387

Filed under:
|
|

When I configure Ubuntu 13.10 server I ran into a problem: Usally (working on 12.10 machines) I add the following information in my /etc/resolv.conf file:

nameserver 192.168.2.180
domain our.domain.com

Normally, when I then ping a given host , .e.g:

ping host01

It would resolve the FQDN to host01.our.domain.com However in ubuntu 13.10 this doesn't seem to be working, it just returns the following:

~# nslookup host01
Server:         192.168.2.180
Address:        192.168.2.180#53
** server can't find host01: SERVFAIL

Which is normaly since the DNS server doesnt respont to a 'host01' request.

However if I do the same nslookup on an Ubuntu 12.10 machine it automatically appends the 'our.domain.com' suffix to whatever I throw at it that doens't already have this suffix.

Is this a 13.10 bug, or am I doing something wrong?

© Server Fault or respective owner

Related posts about ubuntu

Related posts about dns