On Thursday 16 February 2006 17:22, Bernd Schoeller wrote: > 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. >
take a look at /etc/resolve.conf.tail > 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 > > -- Warm regards, Kevin Foo Key fingerprint : 4B23 FC1C E50B 9693 CCDD 2A7D A048 E909 8924 9BDD Public key : http://keyserver.linux.it/pks/lookup?op=get&search=0xA048E90989249BDD *****************************Internet Email Confidentiality Footer ***************************** Legal Privilege & Confidentiality --------------------------------------------------------------------------------------------------------------------------------------------------------------- This email contains privileged and/or confidential information. If you are not the intended recipient (or responsible for delivery of the message to such person) or if you have inadvertently received this email, you should destroy or delete this message and notify the sender by reply email accordingly. If you or your employer do not consent to using Internet email for messages of this kind please advise immediately by sending an email to the sender of this message . All opinions, conclusions and other information in this message that do not relate to the official business of Zaid Ibrahim & Co shall be understood as neither given nor endorsed by Zaid Ibrahim & Co. Our company accepts no liability for the content of this email, or for the consequences of any actions taken on the basis of the information provided, unless that information is subsequently confirmed in writing. Caveat -------------------------------------------------------------------------------------------------------------------------------------------------------------WARNING: Computer viruses can be transmitted via email, and you should check this email and any attachments for the presence of viruses. Zaid Ibrahim & Co accepts no liability for any damage caused by any virus transmitted by this email. Our employees are expressly required not to make defamatory statements nor infringe or authorise any infringement of copyright or any other legal right via any communications. Any such communication is contrary to our company policy and outside the scope of the employment of said individual. We will not be liable for such communication.