Solved

OS X 10.5.7 and DNS registration on Win 2003 DNS server

Posted on 2009-07-14
8
729 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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 

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
 

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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Syslogd is a utility that traps and logs messages sent by running processes. It is configured with the syslog.conf file, which consists of lines containing a pair of fields: "the selector field which specifies the types of messages and priorities to…
Worried about if Apple can protect your documents, photos, and everything else that gets stored in iCloud? Read on to find out what Apple really uses to make things secure.
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 …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

777 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