Create new mail server...

admonet

Verified User
Joined
Oct 30, 2005
Messages
35
Update DNS on all sites

Any easy way to rewrite all DNS entries for either an A record (for mail.domain.com) or for the MX record? I wish to rewrite all domains to point to new MX records and set the new mx records for all new domains. I may not have searched hard enough but does anyone have an idea?

Some command I can designate new MX records for each domain?
 
Last edited:
Use a single-line edit tool to change the MX information; then update the zone file serial numbers and restart BIND with this command:
Code:
echo "action=rewrite&value=named" >> /usr/local/directadmin/data/task.queue
Jeff
 
Back
Top