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