[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#267321: A solution



I wrote:
> Add the following line to /etc/resolv.conf:
>
>    domain    cyrius.com

With this line in place you should see:

     $ hostname --fqdn
     qube.cyrius.com

Note that for this to work you need to have this in /etc/nsswitch.conf:

     hosts: dns files

And for _this_ to work without causing delays you need to have resolvconf
installed and correctly configured so that when the interface is
deconfigured you don't have unreachable nameserver addresses listed in
/etc/resolv.conf.

And if you have resolvconf installed it means that the

    domain    cyrius.com

line in resolv.conf should be inserted by resolvconf.

This means that DHCP clients and resolvconf should be enhanced so that
they do insert that line.
--
Thomas Hood



Reply to: