Page 1 of 1

bind bad owner name (check-names)

PostPosted: Thu Jun 28, 2007 9:16 pm
by stephen
I was trying to set up a new web site

and I tried to have a host name of mail_old

when I started named
Code: Select all
/sbin/service named restart

the domain did not load into the DNS

I checked the /var/log/messages file
Code: Select all
cat /var/log/messages |grep mydomain


and it showed
Code: Select all
Jun 28 16:52:45 myserver named[1533]: mydomain.com.au.zone:17: mail_old.mydomain.com.au: bad owner name (check-names)
Jun 28 16:52:45 myserver named[1533]: zone mydomain.com.au/IN: loading master file mydomain.com.au.zone: bad owner name (check-names)


instead of using mail_old I removed the underscore and just used mailold
ie
Code: Select all
vi /var/named/mydomain.com.au.zone


Now the domain loads correctly
Code: Select all
/sbin/service named restart