Domain Search Override

Jurjen Bokma

May 2012

If you are in domain, but you want to be able to call the servers in sister domain by their short names, then you need to add a search entry in /etc/resolv.conf. However, on many Linux, resolv.conf is maintained by networking subsystems, so you must add the line indirectly.

With dhclient, you edit /etc/dhcp/dhclient.conf:

append domain-search "", "";

(and then run sudo dhclient eth0.

Or if you 're using resolvconf, as many Ubuntu users are, edit /etc/resolvconf/resolvconf.d/tail: