Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Jun 2003
    Posts
    16

    Default Modifying all DNS records

    I will be moving clients from an old server to a new server this week and I want to update all the DNS records after I move the data so the customers will "see" the new server in 4 hours instead of 24-72 hours. Is there an easy way to do this? I thought I could just search and replace the bind config but alas all the zone entries are separate files. I will do them all by hand if I must but certainly there must be an easier way to accomplish this.

    Thanks in advance!

  2. #2
    Member
    Join Date
    Aug 2002
    Posts
    1,052

    Default

    Be sure to make backups & also be sure that the last octet in your customers' IPs remain the same.

    Once the above is completed, you can use something like this to modify all zone files:
    Code:
    replace 10.10.10 20.20.20 -- /var/named/namedb/*
    Note that 10.10.10 is the IP your clients currently have & 20.20.20 is the IP they should have. Again, the last octet of their IP address should remain the same between allocations in order to facilitate this renumbering process.

    The rest of those who have gone before us cannot steady the unrest of those to follow.

  3. #3
    Member
    Join Date
    Jun 2003
    Posts
    16

    Default

    Actually all these accounts are sharing one IP so I won't have to bother with trying to match up old IPs to new IPs.

    Thanks for the help!

Similar Threads & Tags
Similar threads

  1. DNS records ???
    By map007 in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 02-05-2010, 08:47 AM
  2. Deleting old DNS records
    By discountdomains in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 06-10-2009, 10:09 AM
  3. Modifying MX Records
    By GoWilkes in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 08-17-2007, 09:21 AM
  4. DNS A Records
    By E-Oreo in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-19-2005, 10:47 AM
  5. DNS Records !!! > GONE < !!!
    By sihosting in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 12-31-2004, 03:44 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube