Re: DNS server setup

Al Longyear (longyear@longyear.com)
Sun, 3 Jan 1999 11:23:10 -0800 (PST)


mr_poe@ifn.net wrote:
>
> I've set up a DNS server on my lan before but never on the Internet. I didn't
> thought there would be a big difference but for the life of my I can't get it
> to work. I'm hoping that if I run the symptoms by you folks maybe someone can
> help. Here's the situation.
>
> suggested I make an in-addr.arpa entry for it and I did but to no avail. There
> are no syntax complaints when I start the server up but if I try to nslookup my
> nameserver's IP I get:
>
> named[1551]: No root nameservers for class IN

This error has only one meaning: You forgot to include the root server cache.

> zone "22.56.196.208.in-addr.arpa" in {
> type master;
> file "reverse.local";
> };
>
> zone "kungfoo.org" in {
> type master; // what used to be called "primary"
> file "kungfoo.org";
> };

You need to include:

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

The file 'named.cache' is obtained by the command:

dig . @198.41.0.6 >named.cache

Of course, since you don't have name services, I used the IP address of one
of the root nameservers. You would normally use 'rs.internic.net' in any
future updates of the cache file.

This is described in the NAMED-HOWTO document.

-- 
Al Longyear                     <longyear@longyear.com>
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu