Languages

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.

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.
Last Modified: Sep 11, 2012
Helpful?
Yes
No
Not helpful Somewhat helpful Helpful Very helpful Solved my problem
Print this page
  • Last Modified: Sep 11, 2012
  • Article: HT3169
  • Views:

    44511
  • Rating:
    • 57.0

    (541 Responses)
Start a Discussion
in Apple Support Communities
See all questions on this article See all questions I have asked