Re: Does Postfix cache resolv.conf? [SOLVED]

2010-01-11 Thread Dr. Lars Hanke
Thanks Stefan, The Debian packages of Postfix are running smtpd in a chroot by default. The files necessary for this are copied by the init script /etc/init.d/postfix - and amongst them is the resolv.conf you changed. It's exactly this. The chroot has its own copy of (caches) resolv.conf. Re

Re: Does Postfix cache resolv.conf?

2010-01-11 Thread Dr. Lars Hanke
Wietse Venema: Apparently postfix missed the switching of nameservers and did not learn of the new DNS until restart. Is this a bug or a feature? Like most programs, Postfix never reads /etc/resolv.conf. Yes, I suspected that. Instead, that file is read by the NSSWITCH system library

Does Postfix cache resolv.conf?

2010-01-10 Thread Dr. Lars Hanke
I had a quite strange issue. About a week ago my bind9 broke down and I could not get it running again on the same machine. So moved it to another machine and changed the /etc/resolv.conf of my machines to try both IP. Apparently everything worked fine. Today I was puzzled that the correspondi