How to get Macs to register on DNS

gandalf01

Registered
Hi,

We have a mixed network or Windows 2000 PCs and Macs running OSX 10.3 and OSX 10.4

Apparently at the moment, the Macs on our network do not register on the DNS server.

I read that this may be because the Sharing PrefPane should be the same as the DHCP client field. The DHCP client field was empty so I filled it in the same as the Sharing one but no joy.
Whats more is that I can't seem to ping any Mac by its sharing name or even with the DNS suffix that the PCs seem to use either.
Whats more the Sharing name is different to the one displayed in 'Terminal'.
Also when looking at computer lists in Apple Remote Desktop 3, the DNS names next to each machine do not even tally up with the Sharing name.

Can anyone advise on getting these Macs registered on the DNS server and pinging them by name. They do of course ping by IP address.

I'm hoping that someone is not goin to tell me the only way to achieve this is by binding them to the AD ??!!

Many thanks in advance.
 
Hi,

We have a mixed network or Windows 2000 PCs and Macs running OSX 10.3 and OSX 10.4

Apparently at the moment, the Macs on our network do not register on the DNS server.

I read that this may be because the Sharing PrefPane should be the same as the DHCP client field. The DHCP client field was empty so I filled it in the same as the Sharing one but no joy.
Whats more is that I can't seem to ping any Mac by its sharing name or even with the DNS suffix that the PCs seem to use either.
Whats more the Sharing name is different to the one displayed in 'Terminal'.
Also when looking at computer lists in Apple Remote Desktop 3, the DNS names next to each machine do not even tally up with the Sharing name.

Can anyone advise on getting these Macs registered on the DNS server and pinging them by name. They do of course ping by IP address.

I'm hoping that someone is not goin to tell me the only way to achieve this is by binding them to the AD ??!!

Many thanks in advance.


Do you have a dns server in your LAN. If so, register all computer names and link them to the ip number. Now the really important thing. Add the IP-number for the DNS server in the network preference pane under DNS servers.

If everything is setup oke, now the ping on name should be possible. Also you can add the local domain name to ease the use of names (if domain = e.g. macosx.com, then like typing computer1 in stead of computer1.macosx.com).


Good luck, Kees
 
Do you have a dns server in your LAN. If so, register all computer names and link them to the ip number. Now the really important thing. Add the IP-number for the DNS server in the network preference pane under DNS servers.

If everything is setup oke, now the ping on name should be possible. Also you can add the local domain name to ease the use of names (if domain = e.g. macosx.com, then like typing computer1 in stead of computer1.macosx.com).


Good luck, Kees
Hi,
Thanks for taking the time to reply to my post.
When you say 'register all the computer names', what do you mean by that ?
 
Hi,
Thanks for taking the time to reply to my post.
When you say 'register all the computer names', what do you mean by that ?

Something like:

mail = 192.168.42.250
files = 192.168.42.251

etc.

You can set this easily in the mac os x server configuration screen for DNS settings.


Good luck, Kees
 
Hi,
Thanks for your reply but we are using a Windows Server for DHCP and DNS.
That should have nothing to do with it. DHCP is DHCP. DHCP on MacOS and MacOS X just works out-of-the-box.

Launch System Preferences.
Open the Network preferences pane.
Select the Show: Built-in Ethernet popup menu item.
Click the TCP/IP tab.
Select the ConfigureIPv4: Using DHCP popup menu item.

You are done.

If the IP address doesn't appear immediately, then you may press the Renew DHCP Lease button.
 
That should have nothing to do with it. DHCP is DHCP. DHCP on MacOS and MacOS X just works out-of-the-box.

Launch System Preferences.
Open the Network preferences pane.
Select the Show: Built-in Ethernet popup menu item.
Click the TCP/IP tab.
Select the ConfigureIPv4: Using DHCP popup menu item.

You are done.

If the IP address doesn't appear immediately, then you may press the Renew DHCP Lease button.

I think he means how the add the computer names (with ip number) to het Windows Server.

Check your network or server administrator for that. he will have to add the computernames and associated ip-numbers to the DHCP configuration files on the Windows MACHINE.


Good luck, Kees
 
If you're using Active Directory, use the Directory Utility of Mac OS X to bind the Mac to the Windows 2003 server domain. The Windows server should then be able to resolve IPs and computer names for the Mac computers.
 
No, it doesn't. The Macs get IP addresses from DHCP but DNS entries are NOT made automatically. I can manually enter hosts in our DNS server but when the IP address changes the DNS entry is not updated.

I've seen a few references to the same problem but no fixes. I can either reserve IP addresses for all the Macs or give them static IPs.

Kent
 
Strange... we have a Windows 2003 setup on a domain, and the Macs register in DNS just fine (even without having Directory Utility bind them to the domain).

Are you running Windows 2003 Server? Are both DHCP and DNS servers properly configured and running on the server? Has the event log recorded any errors or warnings?
 
I think the network admin may need to get involved with this, as information occurring on the server would be very helpful in diagnosing this problem.
 
Plus these two points Administrator have reported since 10.4.x are:

1) Time on the Mac must be almost exact to the windows server you are binding!

2) Go into System Preferences->Network, Advance button and turn off IPv6. Windows doesn't like IPv6 unless it is running it exclusively and are running Server 2008.

So make sure you have these two things along with other mentioned in Windows+Mac networking.
 
1) This is changeable on the Server 2003 side with a registry edit. You can allow up to x amount of seconds/minutes difference between clients and the server.

2) IPv6 being on had no effect on my success in connecting a MacBook via ethernet and/or wireless to the Server 2003 machine. Having IPv6 enabled (but not enabled on the server) didn't cause any problems for me.

Just a few observations -- great troubleshooting tips, but may or may not be the root of the problem since it's possible to have both of those situations out-of-whack and still successfully connect to the network! :)
 
Our network admin found a setting in the DNS server regarding what clients are allowed to update entries. This is apparently different than allowing both secure and unsecure updates. After he changed the setting everything is working normally.

Kent
 
I too would like to know the setting, as we have 3 of 50 or so MAC's that are showing in DNS (the ones that are showing are running 10.5.5). Any assistance with getting them to properly show up in DNS so we can setup reverse lookups would be much appreciated.
 
This is from our network admin.

For the main domain's zone, on all DNS servers, and assuming that the Mac workstations are domain members, the following permissions apply:

Authenticated users get:
- Create All Child Objects (applies to This Object Only)
- Everything except Full Control, Delete SubTree, Modify Owner, and Delete All Child Objects (applies to Child Objects Only)
 
I'm having the same problem with some OSX machines on my home LAN.
I don't have Active Directory or a Windows Server, but I am running dnsmasq on DD-WRT. When viewing the LAN clients status page, I can see that all the Macs running Leopard register their names correctly in DNS. However my old iMac G3s running 10.4.11 only show up in the DHCP table, and their hostnames are unknown to the DNS server.

From the iMac G3s, I can ping Windows and Leopard machines using their full DNS name or hostname (ping windowscomputer.my.lan or ping leopardcomputer both work). However none of the computers can ping the iMac G3 using its hostname (ping my-imacg3 does NOT work). The only way to communicate with the iMac G3 is by using Bonjour/mDNS (my-imacg3.local) or the IP address.

Does anyone know what has changed between 10.4 and 10.5 with regard to DNS?
also, I don't think I can change security settings for dnsmasq, so are there any other ways to fix the problem?

thanks
 
Back
Top