root@ns2:~# apt-get install bind9 Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: bind9-doc resolvconf The following NEW packages will be installed: bind9 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 269kB of archives. After this operation, 762kB of additional disk space will be used. Get:1 http://mirror.cs.dixie.edu hardy-updates/main bind9 1:9.4.2.dfsg.P2-2ubuntu0.2 [269kB] Fetched 269kB in 0s (2295kB/s) Selecting previously deselected package bind9. (Reading database ... 17828 files and directories currently installed.) Unpacking bind9 (from .../bind9_1%3a9.4.2.dfsg.P2-2ubuntu0.2_i386.deb) ... Setting up bind9 (1:9.4.2.dfsg.P2-2ubuntu0.2) ... Adding group `bind' (GID 114) ... Done. Adding system user `bind' (UID 105) ... Adding new user `bind' (UID 105) with group `bind' ... Not creating home directory `/var/cache/bind'. wrote key file "/etc/bind/rndc.key" Reloading AppArmor profiles : done. * Starting domain name service... bind [ OK ] root@ns2:~# cd /etc/bind root@ns2:/etc/bind# emacs named.conf.options root@ns2:/etc/bind# cat named.conf.options options { directory "/var/cache/bind"; // If there is a firewall between you and nameservers you want // to talk to, you might need to uncomment the query-source // directive below. Previous versions of BIND always asked // questions using port 53, but BIND 8.1 and later use an unprivileged // port by default. // query-source address * port 53; // If your ISP provided one or more IP addresses for stable // nameservers, you probably want to use them as forwarders. // Uncomment the following block, and insert the addresses replacing // the all-0's placeholder. // forwarders { // 0.0.0.0; // }; notify no; // we not are master, so don't notify slaves allow-transfer { none; }; // no one should download full zone from us querylog yes; // log all queries allow-query { none; }; // security allow-recursion { none; }; // security auth-nxdomain no; # conform to RFC1035 listen-on-v6 { any; }; }; root@ns2:/etc/bind# emacs named.conf.local root@ns2:/etc/bind# cat named.conf.local // // Do any local configuration here // zone "clarsen.utahsg.org" { // This server holds slave (secondary) information for this // domain. The information is transfered from the master server type slave; // This information is stored in /var/cache/bind/db.clarsen.utahsg.org // The file is created automatically by bind. file "db.clarsen.utahsg.org"; // Transfer the master (primary) information from the // server at this address masters { 144.38.211.162; }; // Only allow myself to transfer this zone. This is only // here for debugging purposes allow-transfer { localhost; }; // Allow any IP address to query (ask) about this domain. allow-query { any; }; // Do not tell (notify) servers when the domain information changes notify no; }; // Consider adding the 1918 zones here, if they are not used in your // organization //include "/etc/bind/zones.rfc1918"; root@ns2:/etc/bind# /etc/init.d/bind9 restart * Stopping domain name service... bind [ OK ] * Starting domain name service... bind [ OK ]