Well, BIND starts well, but my domain is not resolving to the server.
When I try to ping it, it doesn't catch any IP.
I've already tried setting the DNS of the domain as ns1.example.com and ns2.example.com, also I've tried to set the DNS as the NFO ones: ns1.nfoservers.com, ns2 and ns3.
With the NFO DNS, it seems that the server can ping the ns1.example.com and ns2.example.com, but not the main example.com.
It seems that there might be something wrong with the configs, but I can't manage to find what.
This is what i get from /var/log/messages:
Code:
root@renandecarlo:/etc/bind# cat /var/log/messages
Aug 28 06:25:04 renandecarlo rsyslogd: [origin software="rsyslogd" swVersion="4.6.4" x-pid="10351" x-info="http://www.rsyslog.com"] rsyslogd was HUPed, type 'lightweight'.
Aug 29 06:25:01 renandecarlo rsyslogd: [origin software="rsyslogd" swVersion="4.6.4" x-pid="10351" x-info="http://www.rsyslog.com"] rsyslogd was HUPed, type 'lightweight'.
Aug 30 06:25:22 renandecarlo rsyslogd: [origin software="rsyslogd" swVersion="4.6.4" x-pid="10351" x-info="http://www.rsyslog.com"] rsyslogd was HUPed, type 'lightweight'.
Here is what I get from /var/log/syslog after restarting BIND:
Code:
root@renandecarlo:/etc/bind# grep bind /var/log/syslog | tail -20
Aug 30 07:21:50 renandecarlo named[26640]: set up managed keys zone for view _default, file 'managed-keys.bind'
Aug 30 07:21:50 renandecarlo named[26640]: managed-keys-zone ./IN: loading from master file managed-keys.bind failed: file not found
Aug 30 07:28:43 renandecarlo named[26735]: starting BIND 9.7.3 -u bind -t /var/lib/named
Aug 30 07:28:43 renandecarlo named[26735]: built with '--prefix=/usr' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--sysconfdir=/etc/bind' '--localstatedir=/var' '--enable-threads' '--enable-largefile' '--with-libtool' '--enable-shared' '--enable-static' '--with-openssl=/usr' '--with-gssapi=/usr' '--with-gnu-ld' '--with-dlz-postgres=no' '--with-dlz-mysql=no' '--with-dlz-bdb=yes' '--with-dlz-filesystem=yes' '--with-dlz-ldap=yes' '--with-dlz-stub=yes' '--with-geoip=/usr' '--enable-ipv6' 'CFLAGS=-fno-strict-aliasing -DDIG_SIGCHASE -O2' 'LDFLAGS=' 'CPPFLAGS='
Aug 30 07:28:43 renandecarlo named[26735]: loading configuration from '/etc/bind/named.conf'
Aug 30 07:28:43 renandecarlo named[26735]: reading built-in trusted keys from file '/etc/bind/bind.keys'
Aug 30 07:28:43 renandecarlo named[26735]: set up managed keys zone for view _default, file 'managed-keys.bind'
Aug 30 07:28:43 renandecarlo named[26735]: managed-keys-zone ./IN: loading from master file managed-keys.bind failed: file not found
Aug 30 07:38:18 renandecarlo named[26783]: starting BIND 9.7.3 -u bind -t /var/lib/named
Aug 30 07:38:18 renandecarlo named[26783]: built with '--prefix=/usr' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--sysconfdir=/etc/bind' '--localstatedir=/var' '--enable-threads' '--enable-largefile' '--with-libtool' '--enable-shared' '--enable-static' '--with-openssl=/usr' '--with-gssapi=/usr' '--with-gnu-ld' '--with-dlz-postgres=no' '--with-dlz-mysql=no' '--with-dlz-bdb=yes' '--with-dlz-filesystem=yes' '--with-dlz-ldap=yes' '--with-dlz-stub=yes' '--with-geoip=/usr' '--enable-ipv6' 'CFLAGS=-fno-strict-aliasing -DDIG_SIGCHASE -O2' 'LDFLAGS=' 'CPPFLAGS='
Aug 30 07:38:18 renandecarlo named[26783]: loading configuration from '/etc/bind/named.conf'
Aug 30 07:38:18 renandecarlo named[26783]: reading built-in trusted keys from file '/etc/bind/bind.keys'
Aug 30 07:38:18 renandecarlo named[26783]: set up managed keys zone for view _default, file 'managed-keys.bind'
Aug 30 07:38:18 renandecarlo named[26783]: managed-keys-zone ./IN: loading from master file managed-keys.bind failed: file not found
Aug 30 16:22:08 renandecarlo named[28717]: starting BIND 9.7.3 -u bind -t /var/lib/named
Aug 30 16:22:08 renandecarlo named[28717]: built with '--prefix=/usr' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--sysconfdir=/etc/bind' '--localstatedir=/var' '--enable-threads' '--enable-largefile' '--with-libtool' '--enable-shared' '--enable-static' '--with-openssl=/usr' '--with-gssapi=/usr' '--with-gnu-ld' '--with-dlz-postgres=no' '--with-dlz-mysql=no' '--with-dlz-bdb=yes' '--with-dlz-filesystem=yes' '--with-dlz-ldap=yes' '--with-dlz-stub=yes' '--with-geoip=/usr' '--enable-ipv6' 'CFLAGS=-fno-strict-aliasing -DDIG_SIGCHASE -O2' 'LDFLAGS=' 'CPPFLAGS='
Aug 30 16:22:08 renandecarlo named[28717]: loading configuration from '/etc/bind/named.conf'
Aug 30 16:22:08 renandecarlo named[28717]: reading built-in trusted keys from file '/etc/bind/bind.keys'
Aug 30 16:22:08 renandecarlo named[28717]: set up managed keys zone for view _default, file 'managed-keys.bind'
Aug 30 16:22:08 renandecarlo named[28717]: managed-keys-zone ./IN: loading from master file managed-keys.bind failed: file not found