The libc resolver automatically picks up changes in resolv.conf. If that's not happening, you have a server that uses its own resolver.
netstart and other network configuration has nothing to do with it, btw. On Nov 25, 2010, at 1:31 PM, David Newman <dnew...@networktest.com> wrote: > Greetings. I manage an mail server running OpenBSD 4.5 i386. For various > layer-9 reasons I cannot reboot the server at this time let alone > upgrade it. I can stop and restart processes. > > Awhile back when changing ISPs I temporarily added Google's public > nameserver at 8.8.8.8 to /etc/resolv.conf. Although that entry is long > gone the server continues to send DNS queries to 8.8.8.8. > > I've also tried running "sh /etc/netstart" and restarting the postfix > and dovecot services on this box, but that didn't clear this behavior. > > My questions: > > 1. How to flush the resolver so it won't use this nameserver any longer? > > 2. How to determine which process(es) is/are making calls to the Google > nameserver? > > thanks > > dn