> > > >
> > > > rndc -s host reload
> > > >
> > > > tail -f /var/log/messages
> > > >
> > > > May 7 08:35:21 leviathan named[22884]: loading
> > > > configuration from '/etc/named.conf'
> > > > May 7 08:35:21 leviathan named[22884]: no IPv6
> > > > interfaces found
> > > > May 7 08:35:46 leviathan named[22884]: lame
> > > server
> > > > resolving 'www.mydomain.ie' (in 'mydomain.ie'?):
> > > > 194.x.x.x#53
> > > > May 7 08:35:46 leviathan last message repeated
> > 2
> > > > times
> > > >
Is this all you syslog after a reload/restart ? Anything at all
above master/slave zones being loaded ?
> > > >
> > > >
> > > > ps auxw|less
> > > >
> > > > named 22884 0.0 1.4 40824 3636 ? May06
> > 0:56
> > > > /usr/sbin/named -u named -t /var/named/chroot
Here you're telling bind to start chroot'd into /var/named/chroot.
> > > >
> > > > Here's named.conf:
In what directory is this named.conf ?
> > > >
> > > > // generated by named-bootconf.pl
> > > >
> > > > options {
> > > > directory "/var/named";
As you're chroot'd that directory translates to
/var/named/chroot/var/named/
Does that directory exist ? And if so what's in it ? Odds are
you'll find a named.conf with no reference to your zones.
> > > > //
> > > > // set ourselves as primary server for the zone
> > > > //
> > > > zone "mydomain.ie" {
> > > > type master;
> > > > file "db.zoneinfo";
Remember as you're chroot'd that file will need to be in
/var/named/chroot/var/named/ - and not in /var/named/
> > > >
> > > > Here's /var/named/db.zoneinfo:
i.e. not here ;)
> > > > [root at calisto root]# tail -f /var/log/messages
> > > > May 7 13:07:31 calisto named[23381]: zone
> > > > mydomain.ie/IN: expired
> > > > May 7 13:07:31 calisto named[23381]: zone
> > > > x.x.194.in-addr.arpa/IN: refresh:
> > > non-authoritative
> > > > answer from master 194.x.x.x#53
> > > > May 7 13:07:31 calisto named[23381]: zone
> > > > irelands-web.ie/IN: refresh: non-authoritative
> > > answer
> > > > from master 194.125.22.1#53
As you'd expect - secondary only has old copies of the zones as
the master does not appear to know about them.
Dave
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!