[solved] Bad owner name (check-names) Error (BIND)

bind zone file mistake

when i change zone file and then try to reload RNDC i got this error

[root@ns1 ~]# rndc reload ajayadas.com
rndc: ‘reload’ failed: bad owner name (check-names)
rndc: ‘reload’ failed: bad owner name (check-names)

it was so strange that all other domains in the server working just fine, so i did this

named-checkzone ajayadas.com /var/named/forward/ajayadas.com
/var/named/forward/ajayadas.com:185: #marula.ajayadas.com: bad owner name (check-names)
zone ajayadas.com/IN: loaded serial 2014021000
OK

DID you see! , I made a mistake , to comment zone file i have used a hash # instead of semi colon ;

feel so dump and laughing to myself.   thought i have to share with you guys as anybody can make mistakes…..

 

 

WP Twitter Auto Publish Powered By : XYZScripts.com