|
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 ...
SECONDARY DN SERVER
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)
edit /etc/named.boot ( I use joe under Linux - what do you use?)
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:
FORWARDERS 203.21.205.1 203.21.205.1
make sure your cache line is pointing to your new root.cache file.
cache . root.cache
Save the file.
Restart your named daemon. (kill -HUP `cat
/var/run/named.pid` or you can use named.reload or ndc
reload)
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!!
- That's it for the Secondary Server. It's now running perfectly.
That was REALLY HARD wasn't it :)
|