Against the better judgement of many, I've decided to replace my name
servers, two aging PIIs (ns1 & ns2) with a new dual pentium III. Here's my
notes and questions before the project. Any comments? Ideas of things not
quite right?

Setting up ns1.example.com and ns2.example.com on one box:
ns1.example.com #.#.#.188
ns2.example.com #.#.#.178

(1) install RH 8.0 as DNS server
(2) when prompted for hostname enter: ns1.example.com
(2) when prompted for ip address enter: #.#.#.188
(3) when prompted for name servers enter: 127.0.0.1 as primary and #.#.#.178
as secondary
(4) copy over /var/named/named.conf and /var/named/*.zone from old
ns1.example.com

Q. The current ns1 is running RH 7.2. I'm loading the new ns1 with RH 8.0.
Can I just copy over named.conf and the zone files and expect BIND/named to
act correctly?

(5) set up ip alias interface:
/sbin/ifconfig lo 127.0.0.1
/sbin/ifconfig eth0 up
/sbin/ifconfig eth0 #.#.#.188
/sbin/ifconfig eth0:0 #.#.#.178

(6) set up ip routes
/sbin/route add -net 127.0.0.1
/sbin/route add -net #.#.#.188 dev eth0
/sbin/route add -net #.#.#.178 dev eth0

Q. do I need a "route default gw" here? why?

(7) put 5 & 6 into /etc/rc.d/rc.local so if machine gets rebooted, settings
will persist.

So, if I unplug the current ns1 & ns2 and plug in the new ns1/2 will
everything work like before?

TIA!

Ryan


____________________
BYU Unix Users Group 
http://uug.byu.edu/ 
___________________________________________________________________
List Info: http://phantom.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to