=============================================================================== First, add the host's name and ip to the forward and reverse zone file for the domain. =============================================================================== cgl@brockhall:~$ ssh ns1.utahsg.net cgl@ns1.utahsg.net's password: Linux ns1 2.6.24-24-generic #1 SMP Tue Aug 18 17:04:53 UTC 2009 i686 The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. To access official Ubuntu documentation, please visit: http://help.ubuntu.com/ Last login: Tue Sep 22 23:05:11 2009 from brockhall.cs.dixie.edu cgl@ns1:~$ cd /etc/bind cgl@ns1:/etc/bind$ sudo bash root@ns1:/etc/bind# emacs db.utahsg.net root@ns1:/etc/bind# cat db.utahsg.net $TTL 3600 ; RR are good for 1 hour @ IN SOA ns1.utahsg.net. root.ns1.utahsg.net. ( 2009092301 ; Serial 3600 ; Refresh every 1 hour 300 ; Retry every 5 minutes 2419200 ; Expire 4 weeks to expire 60 ) ; Negative Cache TTL 1 minute ; ; NS (Name Server) records ; @ IN NS ns1.utahsg.net. @ IN NS ns2.utahsg.net. ; ; A (Address) records ; ns1 IN A 144.38.211.162 ns2 IN A 144.38.211.163 mail IN A 144.38.211.164 maildemo IN A 144.38.211.189 root@ns1:/etc/bind# emacs db.160-191.211.38.144.in-addr.arpa root@ns1:/etc/bind# cat db.160-191.211.38.144.in-addr.arpa $TTL 3600 ; RR are good for 1 hour @ IN SOA ns1.utahsg.net. root.ns1.utahsg.net. ( 2009092301 ; Serial 3600 ; Refresh every 1 hour 300 ; Retry every 5 minutes 2419200 ; Expire 4 weeks to expire 60 ) ; Negative Cache TTL 1 minute ; ; NS (Name Server) records ; @ IN NS ns1.utahsg.net. @ IN NS ns2.utahsg.net. ; ; A (Address) records ; 162 IN PTR ns1.utahsg.net. 163 IN PTR ns2.utahsg.net. 164 IN PTR mail.utahsg.net. 189 IN PTR maildemo.utahsg.net. root@ns1:/etc/bind# /etc/init.d/bind9 restart * Stopping domain name service... bind [ OK ] * Starting domain name service... bind [ OK ] root@ns1:/etc/bind# dig @144.38.211.162 maildemo.utahsg.net ; <<>> DiG 9.4.2-P2 <<>> @144.38.211.162 maildemo.utahsg.net ; (1 server found) ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 9233 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2 ;; QUESTION SECTION: ;maildemo.utahsg.net. IN A ;; ANSWER SECTION: maildemo.utahsg.net. 3600 IN A 144.38.211.189 ;; AUTHORITY SECTION: utahsg.net. 3600 IN NS ns1.utahsg.net. utahsg.net. 3600 IN NS ns2.utahsg.net. ;; ADDITIONAL SECTION: ns1.utahsg.net. 3600 IN A 144.38.211.162 ns2.utahsg.net. 3600 IN A 144.38.211.163 ;; Query time: 9 msec ;; SERVER: 144.38.211.162#53(144.38.211.162) ;; WHEN: Tue Sep 22 23:08:26 2009 ;; MSG SIZE rcvd: 121 root@ns1:/etc/bind# dig @144.38.211.162 -x 144.38.211.189 ; <<>> DiG 9.4.2-P2 <<>> @144.38.211.162 -x 144.38.211.189 ; (1 server found) ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 33053 ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 2, ADDITIONAL: 2 ;; QUESTION SECTION: ;189.211.38.144.in-addr.arpa. IN PTR ;; ANSWER SECTION: 189.211.38.144.in-addr.arpa. 3600 IN CNAME 189.160-191.211.38.144.in-addr.arpa. 189.160-191.211.38.144.in-addr.arpa. 3600 IN PTR maildemo.utahsg.net. ;; AUTHORITY SECTION: 160-191.211.38.144.in-addr.arpa. 3600 IN NS ns2.utahsg.net. 160-191.211.38.144.in-addr.arpa. 3600 IN NS ns1.utahsg.net. ;; ADDITIONAL SECTION: ns1.utahsg.net. 3600 IN A 144.38.211.162 ns2.utahsg.net. 3600 IN A 144.38.211.163 ;; Query time: 1040 msec ;; SERVER: 144.38.211.162#53(144.38.211.162) ;; WHEN: Tue Sep 22 23:11:10 2009 ;; MSG SIZE rcvd: 172 =============================================================================== Now do the OS installation on the new machine(s). They will be able to pick up their names from the reverse DNS. Be sure to use your caching lookup servers when configuring the systems. After base installation, install your favorite editor and openssh-server. Then add the SSH-KEYS for login. ===============================================================================