[Gllug] OT: Solaris & DNS
Lee Blackwell
lee_blackwell at eur.3com.com
Mon Nov 26 13:15:36 UTC 2001
Sussed it. The domain and search lines in resolv.conf aren't both
required, but there is definately something screwy with multiple search
lines.
For example:
search eur.3com.com
nameserver 1.1.1.1
Works just fine, but:
search eur.3com.com
search 3com.com
nameserver 1.1.1.1
doesn't work.
If I swap the lines around so that my local domain (and where the short
name of my host resides) is first:
search 3com.com
search eur.3com.com
nameserver 1.1.1.1
Everything works again.
Hmmm. The sooner I get Linux onto production servers around here the
better!
Cheers,
Lee
--
Lee Blackwell
Unix Specialist, NCS, 3com IT.
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GIT d- s: a- c+++ ULS++++$ P++>++++ L+++>++++ E-- W+++ N+ o? K? w---
O? M? V? PS+ PE- Y+ PGP- t 5 X R?(R) tv++ b+(++) DI++ D+ G>+++ e(*)
h* r++(+++) y+
-----END GEEK CODE BLOCK ------
On Mon, 26 Nov 2001 tet at accucard.com wrote:
>
>
> >domainname is set (eur.3com.com), resolv.conf is set with the search line
> >and my name servers.
>
> For some peculiar reason, Solaris 8 seems to need both search and domain
> entries in resolv.conf in order to correctly handle short hostnames.
>
> Tet
>
> --
> Gllug mailing list - Gllug at linux.co.uk
> http://list.ftech.net/mailman/listinfo/gllug
>
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list