Sylvester Lykkehus wrote: > Seth Arnold wrote: > >> On Wed, Dec 06, 2006 at 12:17:36AM +0100, Sylvester Lykkehus wrote: >> >> >>> How on earth do i get around this, and why does it seem that both >>> nameservers are not queried ? >>> >>> >> The easiest solution I've found to this problem is to use pdns-recursor, >> which is available via the build service: >> >> http://repos.opensuse.org/server:/dns/ >> >> Add the .repo file corresponding to your distribution to yast or smart >> and install pdns-recursor. >> >> Edit /etc/resolv.conf to use only one nameserver 127.0.0.1 >> >> Use the pdns_recursor --config option to generate a blank config template. >> Edit the config file as you see fit. You probably won't need to change >> anything. >> Add an appropriate line like this: >> forward-zones=int.wirex.com=10.30.0.15,suse.cz=10.20.0.2 >> >> This says that queries ending in .int.wirex.com go to DNS server at >> 10.30.0.15, queries ending in .suse.cz go to server 10.20.0.2. >> >> I've been thrilled by my new DNS experience. :) >> >> > Hi Seth, > > Seems very interesting, and sounds exactly like what I was looking for. > I will test this out at first opportunity I get, and post the results :-) > > Best regards > Sylvester Lykkehus > As promised, my results.
I followed Seth's instructions, and added forward-zones=company.net=10.12.1.2 to the /etc/pdns/recursor.conf Now I am able to look up both intranet hostnames and internet hostnames , and route them through ppp0 and eth0 respectively. Thanks! /Sylvester
smime.p7s
Description: S/MIME Cryptographic Signature