|
|||
|
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] |
|
|||
|
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 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') |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
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 |