[98437] in RedHat Linux List
Re: DNS woes
daemon@ATHENA.MIT.EDU (Ramon Gandia)
Mon Nov 9 03:40:27 1998
Date: Sun, 08 Nov 1998 23:36:27 -0900
From: Ramon Gandia <rfg@nook.net>
To: redhat-list@redhat.com, Ramon Gandia <rfg@nook.net>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
This is a multi-part message in MIME format.
--------------565326E64861FA125C277E74
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Ed Lazor wrote:
> oop... ok, here ya go. And thanks for looking at it :)
>
> ------------ /etc/named.conf ----------------------------
>
> // generated by named-bootconf.pl
>
> options {
> directory "/var/named";
> /*
> * If there is a firewall between you and nameservers you want
> * to talk to, you might need to uncomment the query-source
> * directive below. Previous versions of BIND always asked
> * questions using port 53, but BIND 8.1 uses an unprivileged
> * port by default.
> */
> // query-source address * port 53;
> };
>
> //
> // a caching only nameserver config
> //
> zone "." {
> type hint;
> file "named.ca";
> };
>
> zone "0.0.127.in-addr.arpa" {
> type master;
> file "named.local";
> };
Oh dear, this is not going to work at all. This is for
a caching-only nameserver, not for one with authority on a
domain.
If you are running a simple DNS, and do not need the features
of BIND 8, use BIND 4. Much simpler; its file is called
named.boot.
YOu will need an RPM for Bind 4 (4.96 is current, I believe), get
the latest one. Your named.boot file would be abour 5 lines
long.
Anyway, here is my named.conf at Nook Net, and I am running
Bind 8. Get some ideas from it (or decide to give up!), and
let me look at what you come up with for yours.
--
Ramon Gandia ==== Sysadmin ==== Nook Net ==== http://www.nook.net
285 West First Avenue rfg@nook.net
P.O. Box 970 tel. 907-443-7575
Nome, Alaska 99762-0970 ======================= fax. 907-443-2487
--------------565326E64861FA125C277E74
Content-Type: text/plain; charset=us-ascii;
name="named.conf"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="named.conf"
// /etc/named.conf
// for green.nook.net
// Wed Dec 17 1997 XZ <ximenes@mythic.net>
// Sun Dec 14 1997 RG <rfg@nook.net>
// Wed Jan 7, 1998 RG <rfg@nook.net>
// Mon Aug 10, 1998 RG <rfg@nook.net>
// Fri Aug 28, 1998 RG <rfg@nook.net>
// Fri Sep 19, 1998 RG <rfg@nook.net>
// Sat Oct 31, 1998 RG <rfg@nook.net>
options {
directory "/var/named";
listen-on {
216.47.28.11;
};
forwarders {
199.237.128.13;
};
files "150";
query-source address 216.47.28.11;
};
// root DNS
zone "." {
type hint;
file "db.cache";
};
// our domains
zone "nook.net" {
type master;
file "net/db.nook";
allow-transfer {
199.237.128.13;
199.237.128.10;
208.161.169.11;
208.161.169.226;
216.47.28.126;
216.47.29.66;
};
};
zone "luckyswede.com" {
type master;
file "net/db.luckyswede";
allow-transfer {
199.237.128.13;
199.237.128.10;
208.161.169.11;
208.161.169.226;
216.47.28.126;
216.47.29.66;
};
};
zone "xalaska.com" {
type master;
file "net/db.xalaska";
allow-transfer {
199.237.128.13;
199.237.128.10;
208.161.169.11;
208.161.169.226;
216.47.28.126;
216.47.29.66;
};
};
zone "169.161.208.in-addr.arpa" {
type master;
file "db.208.161.169";
allow-transfer {
199.237.128.13;
199.237.128.10;
208.161.169.11;
208.161.169.226;
216.47.28.126;
216.47.29.66;
};
};
zone "29.47.216.in-addr.arpa" {
type master;
file "db.216.47.29";
allow-transfer {
199.237.128.13;
199.237.128.10;
208.161.169.11;
208.161.169.226;
216.47.28.126;
216.47.29.66;
};
};
zone "28.47.216.in-addr.arpa" {
type master;
file "db.216.47.28";
allow-transfer {
199.237.128.13;
199.237.128.10;
208.161.169.11;
208.161.169.226;
216.47.28.126;
216.47.29.66;
};
};
zone "0.0.127.in-addr.arpa" {
type master;
file "db.127.0.0";
};
--------------565326E64861FA125C277E74--
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com http://archive.redhat.com
To unsubscribe: mail redhat-list-request@redhat.com with
"unsubscribe" as the Subject.