Help - Search - Members - Calendar
Full Version: Hostmaster E-mail address Update All Accounts Quick Method
The Planet Forums > Control Panels > cPanel/WHM
demo
I want to update every accounts dns file with my hostmaster email, instead of going through each dns file manually how can I update all at once?
aussie
Use the replace command;

Backup all your dns records first

CODE
cp -r /var/named/ /var/named.backup


Execute;

CODE
cd /var/named

replace admin.oldaddress. admin.newaddress. -- /var/named/*


I haven't tested it but it should work. You may want to test it on a few files first to make sure it works as expected.
Catalyst
Won't work, because you have to increment the serial number before the changes will take.

The only way I know of is to use one of the GUI tools for something like that... or perhaps Webmin will allow you to mass-edit the SOA.
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.