resolv.conf - sortlist ignored
Kevin Darcy
kcd at daimlerchrysler.com
Tue Jan 23 00:50:46 UTC 2001
What version of BIND ships with NetBSD 1.5? Maybe it's a really ancient
one that doesn't support sortlist. A simpleminded way of checking this is
to do a strings on your resolver library object and see if the string
"sortlist" is in there; for instance, on Solaris, "strings
/usr/lib/libresolv.so | grep sortlist". I don't know what the equivalent
would be on NetBSD. You might also want to check the man pages of your OS,
e.g. "man resolv.conf" to see if sortlist is mentioned.
- Kevin
Jackson M. wrote:
> I am having trouble with the sorlist directive. I have something like:
>
> domain mydomain
> sortlist 10.0.0.0/255.0.0.0
> nameserver 10.0.0.1
> nameserver 10.0.0.2
>
> If I have two address records for the same host:
>
> myhost IN A 128.0.0.1
> IN A 10.0.0.10
>
> I would expect that on the client machine the sortlist directive would
> ensure that the 10 addresses always appear first.
>
> I have found this not to be the case, it seems that the 10 addresses
> appear first only 50% of the time. This is confirmed
> by both nslookup and client programs such as telnet.
>
> Can anyone offer any suggestions ? The O/S is NetBSD 1.5
>
> Thanks...JM
More information about the bind-users
mailing list