DNS Service/etc/rndc. key was found solution after the dns service is configured in RHEL6, the following problems may occur. rndc cannot find the key, and the named service runs normally. In fact, it can also be used, however, based on the principle that one problem cannot be spared, the solution [root @ server named] #/etc/init. d/named statusrndc: neither/etc/rndc. conf nor/etc/rndc. key was foundnamed (pid 4086) is running... [root @ server named] # rndc statusrndc: neither/etc/rndc. conf nor/etc/rndc. key was found prompt NO rndc. the main reason is that there is no caching-named package on RHEL6, and the key is included in el5. So we need to manually create key 1 in http://www.linuxidc.com) create key [root @ server named] # rndc-confgen-r/dev/urandom-awrote key file "/etc/rndc. key "2) Change permission [root @ server named] # rndc statusrndc: connect failed: 127.0.0.1 #953: connection refused [root @ server named] # cat/etc/rndc. key "rndc-key" {algorithm hmac-md5; secret "MEARtiTMJzFfRwBKlY5lpQ =" ;}; [root @ server named] # ls-l/etc/rndc. key-rw ------- 1 root 77 Ma Y 1/etc/rndc. key [root @ server named] # chown root: named/etc/rndc. key [root @ server named] # chmod 644/etc/rndc. key [root @ server named] # rndc statusrndc: connect failed: 127.0.0.1 #953: connection refused restart the named service! 3) Verify [root @ server named] #/etc/init. d/named restartStopping named :. [OK] Starting named: [OK] [root @ server named] #/etc/init. d/named statusversion: 9.7.3-P3-RedHat-9.7.3-8.P3.el6CPUs found: 1 worker threads: 1 number of zones: 21 debug level: 0 xfers running: 0 xfers deferred: 0soa queries in progress: 0 query logging is OFFrecursive clients: 0/0/1000tcp clients: 0/100 server is up and runningnamed (pid 4224) is running... [root @ server named] # rndc statusversion: 9.7.3-P3-RedHat-9.7.3-8.P3.el6CPUs found: 1 worker threads: 1 number of zones: 21 debug level: 0 xfers running: 0 xfers deferred: 0soa queries in progress: 0 query logging is OFFrecursive clients: 0/0/1000tcp clients: 0/100 server is up and running