Mailinglist Archive: opensuse (1420 mails)

< Previous Next >
Re: [opensuse] optimizing resolv.conf
On 2014-01-01 16:57, jdd wrote:
Le 01/01/2014 14:35, Carlos E. R. a écrit :

Dnsmasq is now installed by default, just use it.

In "/etc/dnsmasq.conf" tell dnsmasq to ask the router or isp or whatever.

server=192.168.1.1

seems to be not even necessary

It is.

because...

as a result yast wrote in resolv.conf *two* IP as dns, 127.0.0.1, but also my
routers one
(192.68.0.254, the one returned by dhcp). See below the systemctl status.

you are really using the 192.68.0.254 server.


You have to tell your system to _only_ use the dnsmasq service, and you also have to tell your dnsmasq service to make queries up to the router, and not query the entire internet on its own, which can be slower (there may be exceptions). In theory, asking your ISP server should be faster, as Anton pointed out. And this is what the router typically does.

--
Cheers,
Carlos E. R.
(from 13.1 x86_64 "Bottle" (Elessar))
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
This Thread