Mailinglist Archive: opensuse (4446 mails)

< Previous Next >
Re: [opensuse] Multiple DNS servers in /etc/resolv.conf
  • From: Sylvester Lykkehus <zly@xxxxxxxxxxxxxx>
  • Date: Thu, 07 Dec 2006 12:16:14 +0100
  • Message-id: <4577F7FE.6020200@xxxxxxxxxxxxxx>
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
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups