a way of deviding into NS records with user`s address

Kevin Darcy kcd at daimlerchrysler.com
Thu Dec 16 19:17:59 UTC 1999


三家本 恭子 wrote:

> Hi,
> Des anyone know how to devide reqested user into several NS record with
> its source IP addresses. That is , theres are to NS recods in one
> domain.
>   xxx.com   IN   NS   aaa.xxx.com
>                       bbb.xxx.com
>
> If a client is reqesting to this named`s and his nework address is
> 1.0.0.0/8, he have to point to aaa.xxx.com. other client is  reqesting ,
> he refer to bbb.xxx.com.
>
> So I want to control and devide into several NS records with reqeting
> user`s address, so that user will be able to point to nearest server
> from his position.
>
> Iam running BIND 8.x on Soralis

Do you really mean NS records? Normally only other DNS servers use
NS records, not clients. If you mean A records, then you can use the
sortlist statement. But it shouldn't really be necessary to do this kind of
thing for NS records, since BIND already gives preference to "nearer" NS'es
(based on packet round trip time). If the other servers aren't running
BIND, hopefully other DNS implementations have a similar mechanism...


- Kevin




More information about the bind-users mailing list