BIND servfail
Roy Arends
Roy.Arends at nominum.com
Sun Apr 1 13:31:59 UTC 2001
On Sat, 31 Mar 2001, Va Cager wrote:
> I installed BIND-9.1.1 on my linux server.
>
> Basically, the server does not answer queries for any domain that is a soa
> for. It will resolve any other domain until the cows buy homes. I have
> followed everything in the BIND book from O'Reilly and I am very perplexed.
>
> named-checkconfig yields only that the auth for nxdomain is no and the
> named-check for the zones that I load as master yields that the ttl is not
> there.......
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> the resolv.conf points to search: mydomain.com
> nameserver 0.0.0.0
> nameserver 129.250.35.250
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> the host.conf : order hosts,bind multi on
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> named.conf is:
> // generated by named-bootconf.pl
>
> options {
> directory "/var/named";
> pid-file "named.pid";
> allow-query { any; };
> /*
> * If there is a firewall between you and nameservers you want
> * to talk to, you might need to uncomment the query-source
> * directive below. Previous versions of BIND always asked
> * questions using port 53, but BIND 8.1 uses an unprivileged
> * port by default.
> */
> // query-source address * port 53;
> };
>
> //
> // a cache nameserver config
> //
>
> zone "." {
> type hint;
> file "named.ca";
> };
> zone "0.0.127.in-addr.arpa" {
> type master;
> file "named.local";
> };
> zone "businessmonkey.com" {
> type master;
> file "businessmonkey.com.db";
> };
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> and the .db is:
> @ IN SOA businessmonkey.com. root.businessmonkey.com. (
> 20010031302
> 8H
> 2H
> 1W
> 1D )
>
>
> NS ns1.businessmonkey.com.
> NS ns2.slush.org.
> NS ns100.businessmonkey.com
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> So, there it is. I have no idea why it is not working. None.
One way to find out what is wrong is to check your logs. There is probably
some info on refusing a zone.
Also, there is a migration document in bind-9.1.1/doc/misc, please read
it.
Looking at your .db file, you're missing the TTL directive and maye some
glue.
Regards,
Roy Arends
Nominum
More information about the bind-users
mailing list