#1 (permalink)  
Old 07-04-2009, 06:27 AM
Registered User
 
Join Date: Jun 2009
Posts: 1
portlandgeek is on a distinguished road
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 07:53 AM. Reason: [Typo Correction]
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 07-06-2009, 03:07 PM
Senior Member
 
Join Date: Jun 2005
Location: Area 51
Posts: 1,621
Spiral is on a distinguished road
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'
)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
SOA for dummies? Pablo Escobar cPanel and WHM Discussions 2 04-19-2009 04:55 PM
Error fetching SOA hparra cPanel and WHM Discussions 0 08-24-2005 04:56 AM
Why cant I do SOA records in WHM? SOA records NECESSARY for .su domains! CamronFry cPanel and WHM Discussions 2 05-30-2005 11:04 PM
Change DNS SOA serial number AusJeff cPanel and WHM Discussions 6 04-18-2003 09:44 AM
SOA tic67 cPanel and WHM Discussions 0 01-17-2003 09:39 AM


All times are GMT -5. The time now is 01:47 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© cPanel Inc