sendmail && dhcp
Matthias Apitz
guru at unixarea.de
Thu Feb 26 15:39:00 UTC 2015
Hello,
I'm using 11-CUR on my FreeBSD netbook and while moving around, I use
different network connections/interfaces: wlan0, tun6, ... depending on
the location where I boot.
sendmail is started the normal way via /etc/rc.conf; but always finds on
startup the /etc/resolv.conf file of the last location (which ocf is not
valid anymore); the DNS is updated when the interface cames up later and
IP is assigned via DHCP;
What would be the best way to restart (or defer the start of sendmail)
until the correct DNS is in place? For the tun interface I'm using a
devd(8) hook, but I'm looking more for a general solution.
Thanks
matthias
--
Matthias Apitz, guru at unixarea.de, http://www.unixarea.de/ +49-170-4527211
La referencia de la Duma a la anexión de la RDA, en este caso al contrario con la Crimlía sin
referéndum, no solamente tiene gracia sino da en el blanco.-
Marinos Yannikos @MarinosYannikos en un blog de RTdeutsch.
More information about the freebsd-questions
mailing list