then the dhcpd will use that name as the hostname and append the known domain name, thus creating an entry (an A record and a PTR record) in BIND....so say a laptop comes into wifi range of the domain ""... Nearly all information resources (host names) are resolved to their Internet protocol (IP) addresses through DNS.Windows networking tried hard to avoid the complexities of DNS, but alas, DNS won.The following configurations demonstrate a simple, insecure dynamic DNS server and a simple DHCP server that matches the DNS configuration.The example DNS configuration is for a private network in the IP address space for network 192.168.1.0/24.I assume you already followed my last 2 articles “Linux ISC DHCP Server under Debian and Ubuntu” and “Linux ISC DHCP Server failover under Debian and Ubuntu” and I assume you have minimum skills in configuring ISC BIND dns server. Beacuse is hard to remeber IP’s for all type of devices.Managing a Dynamic DNS is more simple than learn everytime new ip’s from your network. ( 2003071701 ; serial 86400 ; refresh (1 day) 14400 ; retry (4 hours) 1204800 ; expire (1 week 6 days 22 hours 40 minutes) 604800 ; minimum (1 week) ) NS beer. mail A 10.1.0.1 www A 10.1.0.1 ns A 10.1.0.12 After a successful response of this commands we can move on the next step: DHCP configuration. Just add in /etc/dhcp3/the zone for DNS update: authoritative; ddns-update-style none; option domain-name "domain.com"; option broadcast-address 10.1.0.255; default-lease-time 86400; max-lease-time 86400; log-facility local7; include "/etc/bind/dns-dhcp.key" zone subnet 10.1.0.0 netmask 255.255.255.0 authoritative; ddns-update-style none; option domain-name "domain.com"; option broadcast-address 10.1.0.255; default-lease-time 86400; max-lease-time 86400; log-facility local7; include "/etc/bind/dns-dhcp.key" zone
Microsoft Windows users in particular expect to be able to plug their notebook computer into a network port and have things “” UNIX administrators have a point.Both WINS and Microsoft DNS rely on dynamic name registration.Microsoft Windows clients can perform dynamic name registration to the DNS server on startup.zone "localhost" in ; zone "0.0.127.in-addr.arpa" in ; zone "." in ; # You can insert further zone records for your own domains below. ( 2003021832 ; serial 10800 ; refresh (3 hours) 3600 ; retry (1 hour) 604800 ; expire (1 week) 38400 ; minimum (10 hours 40 minutes) ) NS marvel. $TTL 38400 ; 10 hours 40 minutes 1.168.192.IN SOA marvel. ( 2003021824 ; serial 10800 ; refresh (3 hours) 3600 ; retry (1 hour) 604800 ; expire (1 week) 38400 ; minimum (10 hours 40 minutes) ) NS marvel.
zone "quenya.org" ; zone "1.168.192.in-addr.arpa" ; $ORIGIN .
The private class network address space is set forth in RFC1918.