* Harald Dunkel: > I am using both systemd and sysvinit-core, but I am not sure which one > was active when I ran into this problem. > > Consider a split DNS setup for a remote network. I had started an IPsec > connection to the remote side. /etc/resolv.conf was changed to include > the new internal DNServer on the remote side, but a host lookup gave me > still the old external address. Stopping nscd did not help, AFAIR.
That's arguably a bug in nscd. It should flush the cache each time it detects a change in /etc/resolv.conf (or /etc/gai.conf, for that matter).