Network is running a number of Mac's with Snow Leopard and having issues with DNS resolution (running Windows Active Directory environment with Windows DHCP handing out leases). Is there a way to get the Mac to force registration of the system name with the DNS server (or some way to get DHCP to register the name with the DNS server) the way Windows can be forced to do so with "ipconfig /registerdns"?
Is there something inherent to the way Windows does DHCP/DNS that isn't quite standard?
You can use nsupdate, either in interactive mode or with a script like this one I made :
This script simply delete any previous A record, then register a new one.
You can get DHCP to update DNS for you when it hands out a lease to a client, by enabling dynamic updates. Take a look at this KB article for details on how to set it up.
If you use Centrify's AD integration software, you can also use
addns --update
. Seeman addns
for details.addns
uses kerberos authentication, so probably you don't have to accept non-secured updates. For kerberos to work, the command must be run as the user, not as root.