Subject: re: Multiple IP addresses for a single host in "/etc/hosts"
To: Erik E. Fair <fair@clock.org>
From: matthew green <mrg@eterna.com.au>
List: tech-net
Date: 06/04/1999 17:51:06
209.157.85.45 atomic.clock.org atomic atomic-le0 # SPARC Classic
209.157.85.46 digital.clock.org digital digital-le0 nfs0 # SPARC LX
209.157.85.47 broadcast.clock.org broadcast
#
209.157.85.48 nfs-net.mercy.st.clock.org
209.157.85.49 digital.clock.org digital-le1 nfs1 # SPARC LX
209.157.85.50 atomic.clock.org atomic-nfs atomic-le1 # SPARC Classic
so, I ask for "digital-le1", what do I get in the hosts address field? If
the answer is not "209.157.85.49" *followed* by "209.157.85.46", then
you've just screwed everyone with a multi-homed host.
i don't follow much of what you said above. can you tell me why you'd
expect to get the .46 address from a name query when that address isn't
the same name? and why would this screw multihomed people?
i have a lot of multihomed NetBSD machines and if i ask for an interface
specific alias i've listed in /etc/hosts, i REALLY don't want the other
addresses being returned. that's why i asked for *this* interfaces names'
address. if i wanted them all, i'd use the Real Name.
.mrg.