Do i restart named after updating zone file

Rated 4.38/5 based on 806 customer reviews

Before configure the Slave/Secondary DNS Server we need to do some changes in our all Master/Primary DNS Server configuration files i.e.

www IN A ftp IN A [[email protected] ~]# named-checkzone /var/named/for zone loaded serial 2010031403 OK [[email protected] ~]# named-checkzone /var/named/rev zone loaded serial 2010031402 OK [[email protected] ~]# yum -y install bind Loaded plugins: fastestmirror, refresh-packagekit, security Setting up Install Process Loading mirror speeds from cached hostfile * base: centos.* extras: centos.* updates: centos.Resolving Dependencies -- Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: bind x86_64 32:9.8.2-0.47.rc1.el6_8.3 updates 4.0 M Updating for dependencies: bind-libs x86_64 32:9.8.2-0.47.rc1.el6_8.3 updates 890 k bind-utils x86_64 32:9.8.2-0.47.rc1.el6_8.3 updates 187 k Transaction Summary ================================================================================ Install 1 Package(s) Upgrade 2 Package(s) Total download size: 5.0 M Downloading Packages: (1/3): bind-9.8.2-0.47.rc1.el6_8.3.x86_64| 4.0 MB (2/3): bind-libs-9.8.2-0.47.rc1.el6_8.3.x86_64| 890 k B (3/3): bind-utils-9.8.2-0.47.rc1.el6_8.3.x86_64| 187 k B ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Total 130 k B/s | 5.0 MB Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Updating : 32:bind-libs-9.8.2-0.47.rc1.el6_8.3.x86_64 1/5 Updating : 32:bind-utils-9.8.2-0.47.rc1.el6_8.3.x86_64 2/5 Installing : 32:bind-9.8.2-0.47.rc1.el6_8.3.x86_64 3/5 Cleanup : 32:bind-utils-9.8.2-0.47.rc1.el6.x86_64 4/5 Cleanup : 32:bind-libs-9.8.2-0.47.rc1.el6.x86_64 5/5 Verifying : 32:bind-utils-9.8.2-0.47.rc1.el6_8.3.x86_64 1/5 Verifying : 32:bind-libs-9.8.2-0.47.rc1.el6_8.3.x86_64 2/5 Verifying : 32:bind-9.8.2-0.47.rc1.el6_8.3.x86_64 3/5 Verifying : 32:bind-libs-9.8.2-0.47.rc1.el6.x86_64 4/5 Verifying : 32:bind-utils-9.8.2-0.47.rc1.el6.x86_64 5/5 Installed: bind.x86_64 32:9.8.2-0.47.rc1.el6_8.3 Dependency Updated: bind-libs.x86_64 32:9.8.2-0.47.rc1.el6_8.3 bind-utils.x86_64 32:9.8.2-0.47.rc1.el6_8.3 Complete!

I wish I would have used my Google skillz better before.

The error turned out to be ownership of /etc/bin/file was bind:bind instead of root:bind.

I suggest you change some DNS settings, then after one minute run "ls -lrt" within the zones directory ("/etc/named" or "/etc/bind" depending on your system).

The last file should be the zone you modified, and if you run "cat Ok I made some changes to my domain (Added an A record).

Leave a Reply