authoritative; allow client-updates; include "/etc/rndc.key"; # (same key used by BIND, needed to update DNS records) default-lease-time 604800; # 7 days (was set at 2 hours) max-lease-time 1209600; # 14 days (was set at 24 hours) min-lease-time 30; # 30 seconds (might allow renewing experiments) server-name "giggles"; #local-address 192.168.1.2; ddns-domainname "lan.example.com."; ddns-rev-domainname "in-addr.arpa."; ddns-update-style interim; ddns-updates on; option domain-name "lan.example.com."; option nntp-server news.lan.example.com; option pop-server pop3.lan.example.com; option smtp-server smtp.lan.example.com; option wpad-curl code 252 = text; #option wpad-curl "http://proxy.lan.example.com/wpad.dat"; option www-server www.lan.example.com; option ntp-servers time.lan.example.com; # option time-offset 34200; # Australian Central Standard Time option time-offset 37800; # Central Australia Daylight Time # Seem to be stupidly stuck with manually setting this! # Daylight savings: 2am last Sun of Oct - 3am first Sun of Apr option ip-forwarding off; # tell clients not to act as gateways (?) shared-network lan.example.com { option wpad-curl "http://proxy.lan.example.com/wpad.dat"; subnet 192.168.1.0 netmask 255.255.255.0 { range 192.168.1.100 192.168.1.200; option routers 192.168.1.254; # default gateway option subnet-mask 255.255.255.0; option broadcast-address 192.168.1.255; option domain-name-servers 192.168.1.2; option netbios-dd-server 192.168.1.2; option netbios-name-servers 192.168.1.2; # WINS option netbios-node-type 8; option netbios-scope ""; option finger-server finger.lan.example.com; zone lan.example.com. { primary 192.168.1.2; key rndckey; } zone 1.168.192.in-addr.arpa. { primary 192.168.1.2; key rndckey; } # we want the nameserver to appear at a fixed address # (Any terminal saying it's "ns" or ns.lan.example.com will # be assigned this IP.) host ns { fixed-address 192.168.1.2; } host fixed { fixed-address 192.168.1.99; } host fixme { fixed-address 192.168.1.150; } host suspishus { hardware ethernet 00:1A:92:D8:F2:79; fixed-address 192.168.1.22; option host-name "suspishus"; } # host flakey { # hardware ethernet 00:00:21:25:92:fb; # fixed-address 192.168.1.180; # option host-name "deadmeat"; # update-static-leases on; # } # host rover { hardware ethernet 00:48:54:8e:8c:0c; fixed-address 192.168.1.9; set ddns-rev-name = "9.1.168.192.in-addr.arpa."; # fixed-address rover.lan.example.com; option host-name "rover"; } } } # ------------------ end of it all --------------------------------------- # see http://www.arda.homeunix.net/dnssetup.shtml for some additional help # removed while tidying: # # option nis-domain "localdomain."; # probably not needed, as don't use NIS # # range dynamic-bootp 192.168.0.20 192.168.0.30; # not using bootp # # next-server ns.lan.example.com; # server where boot files are fetched from (network clients)