Subject: Re: re-reading /etc/resolv.conf on change
To: Perry E. Metzger <>
From: Greywolf <>
List: tech-userlevel
Date: 01/01/2004 10:31:32
Thus spake Perry E. Metzger ("PEM> ") sometime Yesterday...

PEM> Another possibility -- maybe we are looking at this wrong? There are a
PEM> variety of conditions we might want to inform programs of ("you've
PEM> just been awakened after a deep sleep", "the network addresses have
PEM> all changed", "your resolv.conf is different"), and perhaps we should
PEM> come up with a more general mechanism for telling programs about such
PEM> things?
PEM> Then, if you alter resolv.conf, run a program announcing "I've altered
PEM> resolv.conf" to the world and all will be well! :)

You mean like kill(pid,SIGHUP); or
	static char *buf="resolv.conf has changed";
	write (socketbuf, buf, sizeof(buf)); ?


NetBSD: Resistance is futile!  You will be supported.