Hello, my Soekris receives its WAN configuration with dhclient and serves as a NAT router for my home LAN.
I need to forward DNS queries from the LAN to the WAN. I use "pdnsd" for this and it works like a charm. The problem that I have is: dhclient generates the DNS information that it receives and stores it into /etc/resolv.conf. But I would like to use pdnsd also for queries _on_ the router as well (nameserver 127.0.0.1 in resolv.conf). If I use supersede (in dhclient.conf) or dhclient.conf.tail, this work fine, but the information gathered by dhclient is lost. Instead I would like to store the nameserver information somewhere else, thus change pdnsd.conf to use (for example) /etc/resolv.conf.wan. Is there a possibility to instruct dhclient to use another file instead of resolv.conf? I have search in dhclient, dhclient.conf and the dhclient-script man page, and in the archives, but I have found no hint of what I should do. Is there any other way that I can get pdnsd working correctly with local queries redirected to pdnsd? Thanks for any help, Bernd

