Automatic subdomain wildcard for DHCP-DDNS additions?
Posted
by
Igor Clark
on Server Fault
See other posts from Server Fault
or by Igor Clark
Published on 2010-03-01T22:13:51Z
Indexed on
2011/11/25
2:00 UTC
Read the original article
Hit count: 660
I'm running dhcp-4.0.2 server and bind-9.6.1-P3.
When a new Mac OSX DHCP client with the name "harry" connects to the network, the DHCP server gives it a lease, and adds appropriate A & PTR records via DDNS. This works fine; harry.my.domain points to (e.g.) 192.168.1.3, the Mac client knows that its name is harry.my.domain, 192.168.1.3 points back to harry.my.domain, and all that is great.
Now I want *.harry.my.domain to resolve to 192.168.1.3, and I don't want to have to go in and add wildcard records into zone files. I want the Mac to connect to the network, and have the hostname and wildcard subdomain resolve to the IP address it's been given.
Is there a way to do this?
Thanks!
© Server Fault or respective owner