Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jun 2009
    Posts
    1

    Post Global SOA Change?

    Hello,

    A couple months back, I introduced another machine into the loop, and have added 40some domains since then, and earlier this week realized the SOA/email record for each zone had been set to an address different than the one I'm using on the other servers.

    To maintain uniformity, I've adjusted the zone templates in WHM for future domains and verified the correct system mail settings, but prior to putting on a gigantic performance from the command line, I started looking for something in /scripts that might allow me to globally adjust these existing zones, but haven't had any luck just yet. Might someone here be able to help out? Should changing the system mail prefs have changed the existing zones, or not?

    The very best,
    John

    SoHo Website Hosting & Design for Oregonians - West & East Coast Datacenter Solutions!
    ask@portland-web.com
    Last edited by portlandgeek; 07-04-2009 at 08:53 AM. Reason: [Typo Correction]

  2. #2
    BANNED
    Join Date
    Jun 2005
    Location
    Wild Wild West
    Posts
    2,025

    Lightbulb

    You can update all your DNS zones at once using a simple
    replace command executed from the shell as root:

    Code:
    # cd /var/named
    # replace 'someuser.domain.com' 'newuser.newdomain.com' -- *.db
    # service named restart
    In the above example illustration, you would just replace someuser.domain.com
    with your old SOA contact email address and newuser.newdomain.com
    with your new SOA contact address

    (NOTE: Email addresses in zone files are stored with a period (.) replacing
    the normal AT (@) symbol you normally see in email addresses so the
    email address 'user@domain.com' would actually be 'user.domain.com'
    )

Similar Threads & Tags
Similar threads

  1. SOA Record ??
    By VPSExpert in forum New User Questions
    Replies: 2
    Last Post: 01-22-2011, 05:07 AM
  2. SOA for dummies?
    By Pablo Escobar in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 04-19-2009, 05:55 PM
  3. Why cant I do SOA records in WHM? SOA records NECESSARY for .su domains!
    By CamronFry in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 05-31-2005, 12:04 AM
  4. Change DNS SOA serial number
    By AusJeff in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 04-18-2003, 10:44 AM
  5. SOA
    By tic67 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-17-2003, 10:39 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube