Knowledge base

OS X Server: Limiting DDNS registration to specific network interfaces

Posted in Apple Mac OS

Summary

When a server is connected to a network that implements dynamic DNS (DDNS), including Microsoft Active Directory networks, OS X Server may register each configured network interface address in DNS.

Products Affected

Lion Server, Mac OS X Server 10.5, Mac OS X Server 10.6, OS X Server (Mountain Lion)

For multi-homed servers, this may cause confusion and prevent clients from connecting to the server.

In OS X Server (Mountain Lion) or Lion Server, use this command to restrict DDNS registration to a single interface (en0 in this example):

dsconfigad -restrictDDNS "en0"

Additional Information

For Mac OS X Server v10.5 or v10.6, edit the /etc/smb.conf file.

After the line "; END required configuration.", specify the interface(s)/address(es) that you do want registered after 'interfaces =': .

[global]
interfaces = en0
bind interfaces only = yes

This will cause Samba to only bind to the specified interface(s) and only register the selected interface(s) address in DNS. This information is from samba.org, attributed to Tim Potter.

Important: Mention of third-party websites and products is for informational purposes only and constitutes neither an endorsement nor a recommendation. Apple assumes no responsibility with regard to the selection, performance or use of information or products found at third-party websites. Apple provides this only as a convenience to our users. Apple has not tested the information found on these sites and makes no representations regarding its accuracy or reliability. There are risks inherent in the use of any information or products found on the Internet, and Apple assumes no responsibility in this regard. Please understand that a third-party site is independent from Apple and that Apple has no control over the content on that website. Please contact the vendor for additional information.

Read more http://support.apple.com/kb/HT3169