Internal hosts DNS problem
Simon Waters
Simon at wretched.demon.co.uk
Fri Jul 19 20:54:57 UTC 2002
Jamie Mcparland wrote:
>
> Here's a copy of my internal dns zone file.
> ########################################
> $ttl 38400
> newberg.k12.or.us. IN SOA listserv.newberg.k12.or.us.
> jamie.listserv.newberg.k12.or.us. (
> 993772534
> 800
> 3600
> 432000
> 38400 )
I like smaller negative TTL, YMMV.
> newberg.k12.or.us. IN NS listserv.newberg.k12.or.us.
> listserv.newberg.k12.or.us. IN A 172.16.16.36
> mail. IN MX 1 newberg.k12.or.us
Hold it this smells bad. "mail." is a new TLD, but you can't
declare them here.
> www.newberg.k12.or.us. IN A 172.16.16.32
> ########################################
>
> And heres a copy of my named.conf
>
> options {
> directory "/etc";
> pid-file "/var/run/named.pid";
> forwarders {
> 198.236.20.8;
Just the one forwarder?
> };
> forward first;
Probably you want "forward only", this looks like a possible
cause of your problems.
> };
>
> zone "." {
> type hint;
> file "/etc/db.cache";
> };
>
> server 198.236.20.8 {
> transfers 5000;
> };
What does this do ;)
> zone "newberg.k12.or.us" {
> type master;
> file "/etc/newberg.k12.or.us.hosts";
> };
>
> zone "myzone" {
> type forward;
> forwarders {
> 198.236.20.8;
> };
> };
I'm losing track, I always define all my forwarding statements,
including "forward only" or "forward first" in the zone
definition, and none in the general options section. I think it
is easier to read.
> logging {
> channel test {
> file "/var/log/test";
> severity info;
> };
> category load {
> null;
> };
> category statistics {
> null;
> };
> category security {
> null;
> };
> category queries {
> null;
> };
> category config {
> null;
> };
> category db {
> null;
> };
> category response-checks {
> null;
> };
> };
You sure your not discarding useful messages? I just log
everything to syslog, "grep" is your friend.
I like BIND 9, I'm guessing your on 8, as this wouldn't work in
9 as the "mail." would stop the zone loading. Some people don't
like computers being pedantic over their work, but I'm resigned
to them being smarter than me when it comes to detailed work,
BIND 9 is very particular.
More information about the bind-users
mailing list