On Thursday 25 August 2005 08:22 pm, you wrote:
> ... unless you snipped them out because they were in-significant
> to the good folks on [EMAIL PROTECTED]
>
> I'm sure you're frustrated, but without knowing how you are
> invoking "named", having the complete "named.conf" available
> and being able to examine your directory tree, I don't know
> what you think the list can do for you.
>
> Ray


The directory structure is the default that OpenBSD uses except for the 
split zone files under /var/named/master, that is:

        /var/named
                /dev
                /etc
                        /named.conf
                /master
                        /example-ext.com
                        /example-int.com
                        /192.168.2
                /slave
                /standard

The problem is named cannot find example-int.com, but it can find 
example-ext.com.

Here's the complete named.conf:

// ACL statement
acl clients { 
        localnets;
#       ::1;
 };

options {
        version "";     // remove this to allow version queries
        listen-on    { any; };
        // listen-on-v6 { any; };
//      allow-recursion { clients; };
        allow-query { clients; };
        forward only
        forwarders { a.b.c.d; s.t.u.v; };
};

logging {
        category lame-servers { null; };
};

include "/etc/rndc.key";

view "internal" { // What the home network will see
match-clients { "clients"; };

 zone "." IN {
          type hint;
           file "standard/root.hint";
 };

 zone "localhost" IN {
        type master;
        file "standard/localhost";
         allow-update { none; };
         allow-transfer { localhost; };
 };

 zone "127.in-addr.arpa" IN {
        type master;
        file "standard/loopback";
        allow-update { none; };
        allow-transfer { localhost; };
};

 // IPv6 Support
 
 zone 
"0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" 
IN {
         type master;
         file "standard/loopback6.arpa";
         allow-update { none; };
         allow-transfer { localhost; };
};


zone "2.168.192.in-addr.arpa" IN {
        type master;
        file "master/192.168.2";
        allow-update { none; };
};

zone "example.com" {
        type master;
        notify no;
        file "master/example-int.com ";
        allow-query { any; };
};
};


view "external" { // What the Internet will see
        match-clients { any; };
        recursion no;

zone "example.com" {
        type master;
        notify no;
        file "master/example-ext.com";
        allow-query { any; };
};
}; 

Reply via email to