one host with multiple addresses. Which is chosen?
Kevin Darcy
kcd at daimlerchrysler.com
Thu Sep 6 20:25:48 UTC 2001
furufuru at ccsr.u-tokyo.ac.jp wrote:
> [...]
> My domain is subnetted and some servers have more than one network
> interface connected to different subnets. Suppose the DNS server
> returns "XXX.XXX.XXX.2" and "XXX.XXX.XXX.130" for a single hostname
> "thehost.mydomain.com", and my desktop machine is on the subnet
> XXX.XXX.XXX.0/25 . Then I want
>
> $ ping thehost.mydomain.com
>
> to ping XXX.XXX.XXX.2 . But, that's not always the case. (I'm using
> BIND 8.2.3 on Linux, Debian 2.2.) Ping is OK, but I'd like, say, rcp
> to chose the closest interface.
If you control all of the DNS servers in question, you could use the
"sortlist" option to sort the addresses so that clients always get a
"close" address as the first one in the list.
- Kevin
More information about the bind-users
mailing list