Configuring BIND With Multiple Domains
kcd at daimlerchrysler.com
Thu Sep 27 22:55:40 UTC 2007
Jim Carlock wrote:
> What about for the resolv.conf file?
> I've got:
> <snip file="resolv.conf">
> search example.org example.com example.net
> domain example.org example.com example.net
> nameserver 184.108.40.206
> nameserver 220.127.116.11
> nameserver 18.104.22.168
> Is this going to work? I'm reading that only one domain
> name gets placed after the "domain" keyword.
Correct, your "domain" there is superfluous, only "search" will get used.
But, searchlists are evil. Why would you want to use them in the first
place? Define your main domain as "domain", everything else uses an
FQDN. Don't let your users get hooked on shortnames or you (and/or your
successor(s)) will pay the price for it down the road.
More information about the bind-users