Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

non-poster

macrumors newbie
Original poster
Mar 29, 2008
5
0
seattle
I can't find the option to set the hostname to send for DDNS updates. My DHCP server and my DNS server support this feature, and it works with dhcpcd on Linux.

DHCP server:
http://www.linuxmanpages.com/man5/dhcpd.conf.5.php#lbAP

DNS server (bind 9) ("allow-updates"):
http://www.bind9.net/manual/bind/9.3.1/Bv9ARM.ch04.html#dynamic_update

dhcpcd (see -h option):
http://www.linuxmanpages.com/man8/dhcpcd.8.php


Where is the setting to send the dynamic DNS update request/hostname to the DHCP server in Leopard (10.5.2)?
 

zaney

macrumors regular
Apr 6, 2008
105
0
Middle of a field, UK
Try System Preferences -> Networks, click on your connection (ethernet, airport, whatever), then click advanced. Now go to TCP/IP -> DHCP Client ID.

Hope that helps.
 

non-poster

macrumors newbie
Original poster
Mar 29, 2008
5
0
seattle
DHCP Client ID.
I tried setting that, then I clicked to renew the DHCP, but it didn't work.

I also tried setting hostname in /etc/hostconfig, then rebooted, but that didn't work either.

I guess this is another miss in OSX.
 

zaney

macrumors regular
Apr 6, 2008
105
0
Middle of a field, UK
I did a quick google for it, and found this at macosxhints.

The MacBook on the other hand (configured exactly the same as the iMac and MacBook Pro) was not sending a valid hostname and so was getting assigned a numeric hostname based off of the ip address given. This had me stumped.... After a bunch of mucking around with verbose log perusing (on both the MacBook, the DHCP server and the DNS server), I discovered that I had to change the Computer Name in the sharing tab also. It was only after doing this that the MacBook hostname was getting correctly updated in the DNS.

I don't know if this helps, as I'm not in a dDNS environment to test it.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.