Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

mDNS and multiple addresse on interface en0

Hello,

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)

Posted on Sep 2, 2010 2:04 AM

Reply
3 replies

Sep 2, 2010 7:36 AM in response to petrahu

Is that your real IP address data, or are you obscuring your data?

If you're running multiple NICs on one LAN, you'll usually want to have those in different subnets.

Mac OS X Server and most any other modern server requires DNS services, and the Apple networking engineers strongly discourage the use .local as your domain; those folks report that sort-of works, and it seemingly inevitably goes badly wrong.

Sep 3, 2010 12:52 AM in response to MrHoffman

Hello,

the Xserve is fully intergrated in DNS, has a DNS Service running.
The IP addresses 1.2.3.xx are fictive. The Xserve has the IP 1.2.3.10,
name xserve.mydomain.de, and has NFS, Samba, Print and other services running.
A wiki server is running on 1.2.3.11:443, name wiki.mydomain.de.
A calendar server is running on 1.2.3.15:443, name ical.mydomain.de.
Therefore the interface has 3 IP addresses in the same subnet.

I am troubleshooting the CUPS problem and searched the reason of
the false information. I located it in mDNSResonder.

Another problem is the printing via DeviceURI
mdns://myprinter%20%40%20xserve. ipp.tcp.local.
or dnssd://myprinter%20%40%20xserve. ipp.tcp.local.
from MacOS-clients is very slow, using ipp://xserve:631/printers/myprinter
is faster.

I guess the reason is the mDNSResonder.

Regards.
P.

mDNS and multiple addresse on interface en0

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.