Mailinglist Archive: opensuse (1420 mails)

< Previous Next >
Re: [opensuse] optimizing resolv.conf
On 2014-01-01 09:27, Felix Miata wrote:
My web browsers often seem to spend a lot of time reporting "looking up host
<blah>". I'd like to
see less of that in 2014, and spend less time watching nothing happen in the
browser's viewport.

You can set a DNS local server, working as cache. It is now even easier than it
was.

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

In the file "/etc/resolv.conf" tell the system to query local DNS server (or do it in Yast or network manager, whatever you use):

search somewhere
#nameserver 192.168.1.1
nameserver 127.0.0.1


Then start dnsmasq, test network. If it works, enable dnsmasq to start up
automatically on boot.

That's the setup I'm using on this machine&partition, it works. Yes, I have it setup to ask my router, so far, no complains. But the router memory is small, thus it is complemented with dnsmasq on the computer. On all my computers, actually.

--
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
Follow Ups
References