Solved

OS X 10.5.7 and DNS registration on Win 2003 DNS server

Posted on 2009-07-14
8
727 Views
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?

Thanks~
0
Comment
Question by:PlatNetOps
8 Comments
 
LVL 70

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)?

Chris
0
 

Expert Comment

by:techydude71
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...

0
 

Author Comment

by:PlatNetOps
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.
0
 

Author Comment

by:PlatNetOps
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

;; QUESTION SECTION:
;_ldap._tcp.corp.domain.com. IN      SRV

;; ANSWER SECTION:
_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.

;; ADDITIONAL SECTION:
server04.corp.domain.com. 3600 IN      A      172.16.10.12
server03.corp.domain.com. 3600 IN      A      172.16.10.11

;; Query time: 0 msec
;; SERVER: 172.16.10.11#53(172.16.10.11)
;; 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.
0
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 

Expert Comment

by:ryansblend
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!
0
 

Accepted Solution

by:
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.
0
 

Expert Comment

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

Expert Comment

by:News-Journal
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.
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

If you other experts are anything like me you are always looking into and testing out new features. While I was doing some research one day I ran across an app that I installed on my Mac and used as a security system. Mac OS X: SecureHome uses your …
Do you come here a lot? Are you lazy like me and don't want to go through the "trouble" of having to click your Dock's Safari icon and then having to click your Experts Exchange Favorites bookmark to get here? Well then this article is for you.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

708 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now