« Back to all videos
How to update zone records on CentOS
Updating zone records on CentOS
This video tutorial demonstrates how to update zone records on CentOS.
- To begin, logon to your master nameserver and open the master zone by typing
vi /var/named/[your domain name].com.master and press enter.
- Now you will specify the MX record. Press Insert to start editing.
- You can now add a new MX record to the zone. Tab, and type:
IN	MX	10	mail.[your domain name].com. and press enter.
- Then, add the following record within the “Define” directive section to resolve the mail host to a IP address. Beneath www, type:
mail	IN	A	[your mail server IP address] and press enter.
- Update the serial number value near the top of the file, following the
- Exit the vi editor by typing :q and press enter.
- To reload the zone file, run
rndc reload at the command prompt and press enter.
- Logon to your slave nameserver.
- To see if the zone on the slave nameserver has replicated the updates from the master nameserver, run
vi /var/named/slaves/[your domain name].com.slave and press enter.
- Ensure that the zone file records have replicated and exit the vi editor with :q enter.
- You can check the zone file by executing at the prompt:
named-checkzone [your domain name].com /var/named/slaves/[your domain name].com.slave and press enter.
comments powered by
Checking operator status...
HOW CAN WE HELP?
Chat or talk now with
one of our professional