On 2014-01-01 14:35 (GMT+0100) Carlos E. R. composed:
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.
My 24/7 box is still on 11.4. Dnsmasq was not installed.
In "/etc/dnsmasq.conf" tell dnsmasq to ask the router or isp or whatever.
server=192.168.1.1
Seems simple enough, until I look at the default /etc/dnsmasq.conf file, where I see only this example that seems like the closest equivalent to your suggestion: #server=/localnet/192.168.0.1 What are the "/" and "localnet" about? Searching through the man page, search string localnet was not found. There is no separate man page for dnsmasq.conf. Maybe localnet would have been better expressed as <localnet> or <domain>? If I wanted to use two Google servers instead of router IP, bypassing resolv.conf, would I put both IPs on one line, or two, and if on one, separated how?
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.
-- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org