(no subject)

anonymous at dim.intersurf.net anonymous at dim.intersurf.net
Fri Aug 13 14:42:18 UTC 1999


From: dpuryear at usa.net (Dustin Puryear)
Newsgroups: comp.protocols.dns.bind
Subject: having to restart bind?
Message-ID: <37b42ddc.68827838 at news.intersurf.com>
X-Newsreader: Forte Free Agent 1.11/32.235
Lines: 202
Date: Fri, 13 Aug 1999 14:46:53 GMT
NNTP-Posting-Host: 216.115.143.212
X-Complaints-To: news at intersurf.net
X-Trace: dim.intersurf.net 934555335 216.115.143.212 (Fri, 13 Aug 1999 09:42:15 CDT)
NNTP-Posting-Date: Fri, 13 Aug 1999 09:42:15 CDT
Organization: Intersurf Online, Inc.

I have to restart bind periodically or our DNS does not work. We have
a dial-up connection and I believe it is related. It seems that DNS
must be restarted after the connection goes down. We have two
nameservers using BIND 8, neither of which resides on the dial-up
machine.

We are using our own domains of zac.wnet and wec.wnet. I decided to
use wnet instead of net so that there would be no collisions with
Internet sites. Is there anything special Ishould take into
consideration with a dial-up connection? I assume that our DNS should
work regardless of an outside connection, and the current situation is
causing a real problem. 

Following are the relavent configuration files. Any help, tips, or
suggestions are greatly appreciated.

[/etc/named.conf]
// $Id: named.conf,v 1.4 1999/07/02 22:45:29 dustin Exp dustin $

options {
        directory "/var/named";

	// Intersurf's DNS
	forward first;
	forwarders {
		216.115.128.33;
		216.115.128.10;	
	};
};

//
// root hints
//

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

//
// master (primary)
//

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

zone "1.168.192.in-addr.arpa" {
	type master;
	file "pz/db.192.168.1";
};

zone "wec.wnet" {
	type master;
	file "pz/db.wec.wnet";
};

// 
// slave (secondary)
//

zone "11.168.192.in-addr.arpa" {
	type slave;
	file "sz/db.192.168.11";
	masters {
		192.168.11.1;
	};
};

zone "zac.wnet" {
	type slave;
	file "sz/db.zac.wnet";
	masters { 
		192.168.11.1; 
	};
};

[/var/named/pz/db.127.0.0]
@               IN      SOA     ns.wec.wnet. hostmaster.wec.wnet. (
                                1       ; Serial
                                8H      ; Refresh
                                2H      ; Retry
                                1W      ; Expire
                                1D)     ; Minimum TTL

		IN	NS	ns.wec.wnet.
		IN	NS	ns2.wec.wnet.

1		IN	PTR	localhost.

[/var/named/pz/db.192.168.1]
@		IN	S0A	ns.wec.wnet. hostmaster.wec.wnet. (
				1999080601	; serial
				8H		; refresh
				2H		; retry
				1W		; expire
				1D)		; minimum TTL

		IN	NS	ns.wec.wnet.
		IN	NS	ns2.wec.wnet.

1		IN	PTR	banana.wec.wnet.
2		IN	PTR	orange.wec.wnet.
3		IN	PTR	apple.wec.wnet.
8		IN	PTR	pear.wec.wnet.

[/var/named/pz/db.wec.wnet]
@	IN	S0A	ns.wec.wnet. hostmaster.wec.wnet. (
			1999080601	; serial
			8H		; refresh
			2H		; retry
			1W		; expire
			1D)		; minimum TTL

	IN	TXT	"Williamson Network"
	IN	TXT	"Subnet: 192.168.1"
	IN	TXT	"Location: WEC"

	IN	NS	ns.wec.wnet.
	IN	NS	ns2.wec.wnet.

	IN	MX	10	mail.wec.wnet.

;
; Loopback address
;

localhost	A	127.0.0.1

;
; Mappings
;

banana		A	192.168.1.1
orange		A	192.168.1.2
apple		A	192.168.1.3
pear		A	192.168.1.8

;
; Aliases
;

filesvr		CNAME	pear
ejs2		CNAME	pear
ejs		CNAME	apple
firewall	CNAME	banana
ns		CNAME	orange
ns2		CNAME	apple
mail		CNAME	orange
ldap		CNAME	orange

[/var/named/db.cache]

; <<>> DiG 8.1 <<>> @rs.internic.net . ns 
; (1 server found)
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 53266
;; flags: qr rd; QUERY: 1, ANSWER: 13, AUTHORITY: 0, ADDITIONAL: 13
;; QUERY SECTION:
;;	., type = NS, class = IN

;; ANSWER SECTION:
..			5d20h56m23s IN NS  E.ROOT-SERVERS.NET.
..			5d20h56m23s IN NS  D.ROOT-SERVERS.NET.
..			5d20h56m23s IN NS  C.ROOT-SERVERS.NET.
..			5d20h56m23s IN NS  B.ROOT-SERVERS.NET.
..			5d20h56m23s IN NS  H.ROOT-SERVERS.NET.
..			5d20h56m23s IN NS  A.ROOT-SERVERS.NET.
..			5d20h56m23s IN NS  M.ROOT-SERVERS.NET.
..			5d20h56m23s IN NS  L.ROOT-SERVERS.NET.
..			5d20h56m23s IN NS  K.ROOT-SERVERS.NET.
..			5d20h56m23s IN NS  J.ROOT-SERVERS.NET.
..			5d20h56m23s IN NS  G.ROOT-SERVERS.NET.
..			5d20h56m23s IN NS  F.ROOT-SERVERS.NET.
..			5d20h56m23s IN NS  I.ROOT-SERVERS.NET.

;; ADDITIONAL SECTION:
E.ROOT-SERVERS.NET.	5w6d16h IN A	192.203.230.10
D.ROOT-SERVERS.NET.	5w6d16h IN A	128.8.10.90
C.ROOT-SERVERS.NET.	5w6d16h IN A	192.33.4.12
B.ROOT-SERVERS.NET.	5w6d16h IN A	128.9.0.107
H.ROOT-SERVERS.NET.	5w6d16h IN A	128.63.2.53
A.ROOT-SERVERS.NET.	5w6d16h IN A	198.41.0.4
M.ROOT-SERVERS.NET.	5w6d16h IN A	202.12.27.33
L.ROOT-SERVERS.NET.	5w6d16h IN A	198.32.64.12
K.ROOT-SERVERS.NET.	5w6d16h IN A	193.0.14.129
J.ROOT-SERVERS.NET.	5w6d16h IN A	198.41.0.10
G.ROOT-SERVERS.NET.	5w6d16h IN A	192.112.36.4
F.ROOT-SERVERS.NET.	5w6d16h IN A	192.5.5.241
I.ROOT-SERVERS.NET.	5w6d16h IN A	192.36.148.17

;; Total query time: 16238 msec
;; FROM: mail to SERVER: rs.internic.net  198.41.0.6
;; WHEN: Tue Jul 13 19:39:56 1999
;; MSG SIZE  sent: 17  rcvd: 436


---
Dustin Puryear
dpuryear at usa.net
.


More information about the bind-users mailing list