On Mon Oct 04, 1999 at 02:35:17PM -0600, Mark Collette wrote:
> Hello, I'm running named on debian linux, and have a question.
> 
> I have four domains all on one IP, and am running a nameserver on the
> same machine. When I start the daemon it complains that
> 
>   master zone "238.142.139.in-addr.arpa" (IN) rejected due to errors

You need three files.  Your /etc/bind/named.conf should contain
something like the following:

zone "238.142.139.in-addr.arpa" {
    type master;
    file "/etc/bind/238.142.139.in-addr.arpa";
    notify yes;
};
zone "hyperbyte.ab.ca" {
    type master;
    file "/etc/bind/db.hyperbyte.ab.ca";
    notify yes;
};
zone "calgarysupermall.com" {
    type master;
    file "/etc/bind/db.calgarysupermall.com";
    notify yes;
};

You then need to add three files to /etc/bind, namely:
    /etc/bind/238.142.139.in-addr.arpa
    /etc/bind/db.hyperbyte.ab.ca
    /etc/bind/db.calgarysupermall.com
The file /etc/bind/238.142.139.in-addr.arpa contains reverse lookups,
and should look something like:

    ; reverse lookup file for 139.142.238.xxx
    ;
    @               IN      SOA     ns.hyperbyte.ab.ca. hostmaster.hyperbyte.ab.ca. (
                         1999100401         ; Serial
                              10800         ; Refresh 3 hours
                               3600         ; Retry   1 hour
                            3600000         ; Expire  1000 hours
                             86400 )        ; Minimum 24 hours
    ;
                    IN      NS      ns.whatever.net.
                    IN      NS      ns.whateverelse.net.
    ;
    1               IN      PTR     some.ip.net.
    2               IN      PTR     some.other.ip.net.
    ; etc...

Also, remember to use ";" as the comment char, not "#".  This is
all covered in the various DNS howtos, so if you have more questions,
please ask me directly.

 -Erik

--
Erik B. Andersen   Web:    http://www.xmission.com/~andersen/ 
                   email:  [EMAIL PROTECTED]
--This message was written using 73% post-consumer electrons--
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to