Solved

OS X 10.5.7 and DNS registration on Win 2003 DNS server

Posted on 2009-07-14
8
732 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
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)?

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
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 

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

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to migrate local mac user home folder to AD 4 84
Separate DNS forwarding 2 58
Admin User Continues to be locked out from Windows Domain 3 42
Backup DNS routing 3 43
Occasionally you run into the website or two that will not resolve properly using your own DNS servers.  Some people simply set up global forwarders for their DNS server.  I don’t recommend doing this because it can cause problems resolving addresse…
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
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 …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

739 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