On multi homed host, how to force named to return local address

Jim Reid jim at rfc1035.com
Fri Feb 11 18:53:05 UTC 2000


>>>>> "Natalie" == Natalie Keller <nkeller at hns.com> writes:

    Natalie> Is there a way that when the pc queries a nameserver, the
    Natalie> nameserver responds with the address of the interface
    Natalie> first that is on the same subnet as the pc. Such that all
    Natalie> pc's on subnet 10.0.1.0 would try first to connect to
    Natalie> bluesky at interface 10.0.1.1. All pc's on subnet
    Natalie> 10.0.2.0 would try first to connect to bluesky at
    Natalie> interface 10.0.2.0,......etc.

BIND8's sortlist clause in the options{} statement can make the name
server return a sorted list of A records for bluesky based on the
source address of the query. Whether the application that made the
query uses that sorted list or not is another story. This
functionality really belongs in the desktop's resolver. It should be
capable of getting a better picture of the current routing topology
than could be obtained from the global and static sorting logic you
configure into the name server. In fact, the BIND8 resolver has a
sortlist option to do just that. (Well sort of...)



More information about the bind-users mailing list