Help - Search - Members - Calendar
Full Version: hmm dont laugh --
The Planet Forums > System Administration > DNS Hosting
gemini isp
i was thinking about moving about 100 domains dns records to another server both servers are running Linux. is there a easy way to go about this so that the new server will see the records of the domains.

i was hoping i could just download all the records and upload to the new server. but i was hoping the new system will see the files without me typing in 100 dns entries ..

Thanks for any input you may have
parisdns
I guess you just have to copy/paste the DNS's files !... wink.gif
gemini isp
but will the new server see the records and utilize them ?
rabbit994
If your using bind, all you should have to do is move the old zone files to the new computer and restart named.
Root
QUOTE (gemini isp)
but will the new server see the records and utilize them ?

If you copy and paste the contents of named.conf that specifies each dns record then it should.
gemini isp
Thanks ,

im going to move the old files over --including named.conf and hopefully everything will work --

what im trying to do it have a dedicated dns server only and take away that load from my current box - or may use it as a slave
gemini isp
QUOTE (rabbit994)
If your using bind, all you should have to do is move the old zone files to the new computer and restart named.


and the winner is Rabbit994- congrats

after a little googlin i found the following info that may help anyone else interested in my process ;;

1) move the /var/named directory from old DNS server to the new server;
2) change the ownership of moved files to named:named:
chown -R named:named /hsphere/local/var/named
3) on the rest of DNS servers, for slave zones which had masters set to the old DNS server IP, change it to the new DNS server IP (using SED or any other method);
4) restart named.

Thanks guys and gals
vidluther
Also, if possible add this to your /etc/sysconfig/named
This makes you start bind in a jailed environment.

ROOTDIR="/var/named/"
OPTIONS="-c /etc/named.conf -u named"

Then move your /etc/named.conf to /var/named/etc/
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.