mDNS and multiple addresse on interface en0
my Xserve has multiple IP addresses on interface en0. The output of ifconfig and dig is:
ifconfig
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
...
inet 1.2.3.10 netmask 0xffffff00 broadcast 1.2.3.255
inet 1.2.3.11 netmask 0xffffff00 broadcast 1.2.3.255
inet 1.2.3.15 netmask 0xffffff00 broadcast 1.2.3.255
dig -p 5353 @xserve xserve.local.
;; QUESTION SECTION:
;xserve.local. IN A
;; ANSWER SECTION:
xserve.local. 10 IN A 1.2.3.10
xserve.local. 10 IN A 1.2.3.11
xserve.local. 10 IN A 1.2.3.15
I have a cupsd.conf on a Linux client. The client asks with BrowsePoll the cups daemon on
1.2.3.10 about printers. The client gets the printers, but with an incorrect address. The address
should be 1.2.3.10, but the client gets 1.2.3.15 and therefore an incomplete printer configuration!
On the Linux client the output of avahi-resolve is:
avahi-resolve -n xserve.local.
xserve.local 1.2.3.15
It should be 1.2.3.10!
How can I define for xserve.local the IP 1.2.3.10 ?
A hosts file exists in the configuration of the avahi-daemon. Is there any similary in the mDNS configuration
of MacOSX?
Regards.
P.
Xserve, Mac OS X (10.5.8)