UNIX!   Oh you make life so easy!

If you have made it this far you know what your doing and I probably don't need to tell you any more. But because I'm a nice guy and I can make a few changes and resave the page ...


  1. First copy the new root.cache file to your /etc directory, you need to know where your existing file is. Your named.boot file will tell you by looking at the 'directory' option right at the top of the file. (You might like to make a backup, although you can obtain a new one quite easily)

  2. edit /etc/named.boot ( I use joe under Linux - what do you use?)

  3. Replace the FORWARDERS with the keyword FORWARDERS and add the IP address of your PRIMARY Server.  You can add it TWICE just to be sure:

  4. make sure your cache line is pointing to your new root.cache file.
    cache     .       root.cache

  5. Save the file.

  6. Restart your named daemon.  (kill -HUP `cat /var/run/` or you can use  named.reload or ndc reload)

  7. From your command prompt type
    dig . SOA     (don't forget the 'dot' in there.)

    And you'll get something like this back:

     rs2:/var/tmp# dig . soa
     ; <<>> DiG 2.2 <<>> . soa
     ;; res options: init recurs defnam dnsrch
     ;; got answer:
     ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6
     ;; flags: qr aa rd ra; Ques: 1, Ans: 1, Auth: 7, Addit: 7
     ;; QUESTIONS:
     ;; ., type = SOA, class = IN
     ;; ANSWERS:
     .       86400  SOA   RS2.AURSC.AH.NET. AT.AH.NET. (
                          1998030101 ; serial
                          10800 ; refresh (3 hours)
                          900 ; retry (15 mins)
                          604800 ; expire (7 days)
                          86400 ) ; minimum (1 day)

    There is more, but I'm sure you get the point. Just make sure you see RS2.AURSC.AH.NET, that's all that is important.  If you see 'A.ROOT-SERVER.NET' either you haven't replaced your root.cache file or you still have your FORWARDERS turned on!!

  8. That's it for the Secondary Server.  It's now running perfectly.

That was REALLY HARD wasn't it :)


Copyright 1997 AH.NET, Optah
All Rights Reserved
PO Box 174, Roseville NSW 2079