Adding/Updating DNS records
The DNS records are held on the Scomis Firewall, you will need to use an SSH/SCP protocol application to edit the zone files and to invoke a restart of the DNS Server.
- Install WINSCP (or putty)
- Connect to Firewall – 10.224.104.1
Use Port 22, user = root with the password found in the secure password repository. - Navigate to the top or Root of the server drive
- Browse to etc
- Browse to bind
- Double click to edit scomis.org.hosts
- Add or Copy another record and amend as needed
- Put your entry in the appropriate section and add a comment prefixed with a semicolon after the entry, e.g.:
- gateway.scomis.org. IN A 217.179.29.130 ; vpn server
- If adding an entry for terminal server create the sql. entry at the same time and put them in the appropriate place, e.g. alphabetical!
- sql.OaklandsPark.scomis.org. 600 IN CNAME SIMSDB05.scomis.org.
- mis.oaklandspark.scomis.org. 600 IN CNAME ts1.scomis.org.
- Change the Serial number of the zone file.At the top of the Zone File, you will see a number, similar to that below.
scomis.org. IN SOA ns1.scomis.org. postmaster.scomis.org. ( 2010020901
- The serial is in the format YYYYMMDDxx where xx is the daily increment – 1 is added to it each time a change is made.
- Save the changes and close the DNS Zone file.
Test the syntax of the zone file for errors.
- Click the “open terminal” button and enter the command:
- named-checkzone scomis.org /etc/bind/scomis.org.hosts
- Output should be like this otherwise you have made an error and need to troubleshoot
/etc/bind$ named-checkzone scomis.org /etc/bind/scomis.org.hosts zone scomis.org/IN: loaded serial 2011110101 OK
Restart the DNS Service so that the changes are replicated to other DNS Servers.
- Click the “open terminal” button and enter the command:
-
/etc/init.d/named restart
Perform and NSLookup to check that the DNS record has been replicated.
NOTE – changes to DNS may take up to an hour to replicate to the cloud slave server:
DNS Master is ns1.scomis.org / 10.224.104.1 / iptables firewall
DNS Slave is ns2.scomis.org / 37.128.134.205 / scomis cloud server
DNS Slave is ns3.scomis.org / 10.224.104.209 / scolamp
Last Reviewed 26/05/2015