OS X 10.5.7 and DNS registration on Win 2003 DNS server

Posted on 2009-07-14
Medium Priority
Last Modified: 2013-11-12
The problem is our OS X clients are not updating the server DNS records. So far I have yet to find a solution to this problem.

The OS X client requests DHCP and receives an IP address...great. However a DNS entry is never created, in fact, if there is a DNS record tied to that IP address from a previous computer it will use that name instead essentially using rarp to get its' name. This is unacceptable.

The setup:
Windows 2003 DHCP and DNS servers
OS X 10.5.7 clients
Windows XP Clients
No WINS Servers

As for the OS X clients lets use the name LT-TESTMAC as its name:
The folder sharing name is set to LT-TESTMAC
The name under Directory Utility is LT-TESTMAC
The name under DHCP Client ID is LT-TESTMAC
From the Terminal window I have run this: sudo scutil --set HostName LT-TESTMAC

The OS X client gets an IP address but never reports to the DNS server its name. What is the solution to this problem? Is there a 3rd party software app designed to help this? Do I just have to wait until Snow Leopard is released and hope they added support for it?

Question by:PlatNetOps
LVL 71

Expert Comment

by:Chris Dent
ID: 24862774

DNS is on 2003, is DHCP on there too?

DHCP will be updating DNS on behalf of clients if the default settings apply. Clients need to pass a valid name to the DHCP server (typically host.domain.com) for the update to be effective.

I would be very surprised to discover that OS X was incapable of sending dynamic updates, however it may run into a problem with MS flavour Secure Updates if it is trying. And it's unlikely to try if DHCP is telling it not to.

I can't really speak for the Mac parts of this, I have no experience at all with them. Can you try setting a full name for the system (with a valid domain name as listed in MS DNS)?


Expert Comment

ID: 24871115
there's a setting in Microsoft DHCP Server (in one of its Properties windows) to say "update DNS even on clients that don't support dynamic updates".

and another setting that removes DNS entries after its DHCP lease has expired...


Author Comment

ID: 24871248
DHCP and DNS are both on 2003 server. We have had DHCP configured to update DNS only when it is requested by the clients. When that didn't seem to work properly (records were missing in DNS), we made DHCP responsible for all updates to DNS, and that is where we are now. Probably about half of our Mac clients get registered properly, which leads us to believe that there is a configuration issue on the boxes that are not updating.

The core of this question is where in OS X do we specify the proper name to pass through on the DHCP request so that DHCP can then update DNS porperly.
Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.


Author Comment

ID: 24873024
To Chris-Dent:
Yes DHCP is there too. Our clients are running valid names and what is interesting is that not all of them are acting this way. Here is a dig report from a mac's terminal window:
lt-teith-mac:~ tate.eith$ dig -t SRV _ldap._tcp.corp.theplatform.com

; <<>> DiG 9.4.3-P1 <<>> -t SRV _ldap._tcp.corp.theplatform.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 24359
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 2

;_ldap._tcp.corp.domain.com. IN      SRV

_ldap._tcp.corp.domain.com. 600 IN      SRV      0 100 389 server04.corp.domain.com.
_ldap._tcp.corp.domain.com. 600 IN      SRV      0 100 389 server03.corp.domain.com.

server04.corp.domain.com. 3600 IN      A
server03.corp.domain.com. 3600 IN      A

;; Query time: 0 msec
;; WHEN: Thu Jul 16 11:03:02 2009
;; MSG SIZE  rcvd: 175

This is a reference to the above output http://support.apple.com/kb/HT3394 As you can see it is functioning properly however, I still cannot ping the client name and it doesn't show up in the DNS records. Very odd because I can do this from another Mac and be able to ping the DNS name just fine.

To techydude71: yes, we are set up that way already.

Expert Comment

ID: 24963907
I'm having the same exact issue, some macs will register their names while others do not. Did anyone figure out why this is happening? I'd love to get this issue sorted out!

Accepted Solution

PlatNetOps earned 0 total points
ID: 24963958
Actually we have managed to find the solution on another post in the Apple Forums. The solution was provided by Gantlett in this thread: http://discussions.apple.com/thread.jspa?threadID=2038470&tstart=270

We were missing this step:
2. Click on the Advanced tab and click on "Credentials...". In here you must provide domain admin credentials.

Thanks for the help everyone and I hope this helps others as well.

Expert Comment

ID: 24964152
I found this as well a week ago and it didn't work for me...

Expert Comment

ID: 25171504
I have observed that frequently the clients that do not register in DNS are not announcing their hostname. when I look at the DHCP leases many of the OS X leases have the MAC address as the hostname some are blank. Must have a hostname to register in DNS.

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

We could spend the next millennium discussing the differences of the Mac and Windows platforms. The next century will continue to have fanatics on both side of the equation and neither side will win the war. However, that’s not why we are here. W…
Most folks would know the basics of how Dropbox works, so that’s not the purpose of this article. Security is what it’s all about, so here I’ll share how I choose to secure my Dropbox Account and the Data it contains.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Through the video, you can check the migration process of Outlook PST file to PDF. Kernel for Outlook to PDF tool can convert Outlook emails with all attributes like Subject, To, From, Cc, Bcc and other folders such as Inbox, Outbox, Sent Items, Jun…

587 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question