OS X Server: Limiting DDNS registration to specific network interfaces

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.
This article has been archived and is no longer updated by Apple.

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"

Learn more

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 =': .

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.

Information about products not manufactured by Apple, or independent websites not controlled or tested by Apple, is provided without recommendation or endorsement. Apple assumes no responsibility with regard to the selection, performance, or use of third-party websites or products. Apple makes no representations regarding third-party website accuracy or reliability. Risks are inherent in the use of the Internet. Contact the vendor for additional information. Other company and product names may be trademarks of their respective owners.

Published Date: