restaring bind when losing dial-up?

dpuryear at usa.net dpuryear at usa.net
Thu Sep 2 21:08:32 UTC 1999


We use a dial-up connection for our office internet. We are using bind
8.1.1 to provide DNS for our LAN. All machines point at our DNS server.
Whenever the link goes down and then back up we have to restart bind.
Bind will return cached addresses, but not new ones.

Is there anything special we should do for a dial-up connection?
Obviously, our current configuration is broken. Following is our
named.conf, just in case:

// $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" {
	notify yes;
	type master;
	file "pz/db.192.168.1";
};

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

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

//
// slave (secondary)
//

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

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

zone "clc.wnet" {
	type slave;
	file "sz/db.clc.wnet";
	masters {
		192.168.21.1;
	};
};

zone "21.168.192.in-addr.arpa" {
	type slave;
	file "sz/db.192.168.21";
	masters {
		192.168.21.1;
	};
};


---
Dustin Puryear
dpuryear at usa.net


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.


More information about the bind-users mailing list