Subject: help w/ DNS & NAT
To: None <current-users@netbsd.org>
From: Brad Walker <bwalker@musings.com>
List: current-users
Date: 04/04/2002 00:12:18
I'm running Solaris 2.8 on an Ultra 5 behind a NAT. (* I know, I know..
It's my desire to get the DNS stuff worked out before I switch over
to NetBSD as I'm not a DNS guru and wanted to minimize the headaches *)

Basically I'm getting some strange DNS error and was hoping that the
good minds on this list had encountered this before. I keep getting
format errors returns in DNS. In addition, some sites work and some
don't.

Here is a copy of my /etc/named.conf if you have done this before can
you please advise.

Lots of thanks!

-brad w.

options {
        directory       "/etc/named";
        allow-query { any; };
        listen-on { 127.0.0.1; 192.168.1.2; };
        allow-transfer { 192.168.1.2; 66.134.137.220; };
};

controls { };

view "internal" {
        match-clients { 127.0.0.1; };
        recursion yes;

        zone "." in {
                type hint;
                file "named.cache";
        };

        zone "musings.com" {
                type master;
                file "db.musings.com.internal";
                allow-query { any; };
        };

        zone "0.0.127.in-addr.arpa" {
                type master;
                file "db.127.0.0";
        };
};

view "external" {
        match-clients { any; };

        zone "." {
                type hint;
                file "named.cache";
        };

        zone "musings.com" {
                type master;
                file "db.musings.com.external";
                allow-query { any; };
        };

        zone "0.0.127.in-addr.arpa" {
                type master;
                file "db.127.0.0";
                notify no;
        };
};