View Single Post
  #2 (permalink)  
Old 07-06-2009, 04:07 PM
Spiral's Avatar
Spiral Spiral is offline
Registered User
 
Join Date: Jun 2005
Location: Area 51
Posts: 1,501
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'
)
Reply With Quote