setting order of reply

Kevin Darcy kcd at daimlerchrysler.com
Wed Jan 30 00:07:24 UTC 2002


The "sortlist" option can do what you want, but the big caveat is that you have to configure the sortlist definitions in
*every* nameserver that is going to answer the query, including caching servers. Unconfigured caching servers will use their
default ordering scheme (for BIND, this is the so-called "cyclic" ordering scheme) when answering from their caches, thus mucking
up your careful ordering plans.


- Kevin

Bob Stewart wrote:

> Hi;
>
> I have three name servers running on an internal network and would like to configure them to reply with different addresses
>
> depending on where the request originates.
>
> An example is for the directory server. This is set up to round robin in the following order:
>
> dir1.lanl.gov    60    IN    A    10.0.1.1
>
> dir2.lanl.gov    60    IN    A    10.0.2.2
>
> dir3.lanl.gov    60    IN    A    10.0.3.3
>
> If there is a query from a machine on the 10.0.3 network to the name server on 10.0.3, then I would like the response to always
>
> be 10.0.3.3. If the query comes from the 10.0.2 net, I would like the response to be 10.0.2.1, and so on.
>
> The master server in the example above is 10.0.1.1, the other two are slaves.
>
> I am running bind version 8.
>
> I would appreciate any ideas on how to accomplish this, (although I do try to keep up with this group, a reply to the e-mail
>
> address below would be best).
>
> --
> Thanks
> Bob Stewart (res at lanl.gov)
>
> mail stop B255  phone = 505-667-9847   ta3, sm1498, room 239
>
>                 http://public.lanl.gov/res



More information about the bind-users mailing list