Diffrent DNS Answer by diffrent IP Source Adress

Jim Reid jim at rfc1035.com
Wed Aug 16 00:48:55 UTC 2000


>>>>> "Kevin" == Kevin Darcy <kcd at daimlerchrysler.com> writes:

    Kevin> Another approach, which may meet your needs, is to add both
    Kevin> A records and sort the responses via the "sortlist"
    Kevin> mechanism of BIND. This gets you out of the business of
    Kevin> maintaining multiple copies of zones, but it does require
    Kevin> that *every* nameserver answering the name be configured
    Kevin> with these sortlists, which can be a logistical
    Kevin> nightmare...

It's also not scalable or flexible. How many A records and network
masks would someone want/need to sort? What if it was the A record for
a web server that was to be sorted, but not any other A records on the
same net as that web server?

IIRC the original poster wanted *different* addresses to be returned
based on the source address of the query. Using a sortlist{} clause
would return the same set of addresses, albeit in a different order.
This might or might not meet the original poster's requirements.



More information about the bind-users mailing list