dnsmasq for caching
Mike Chambers
mike at miketc.com
Mon Nov 19 04:57:37 UTC 2007
On Sun, 2007-11-18 at 15:12 -0700, kwhiskerz wrote:
> This is what I have done:
>
> I have made a file, resolv.servers with the nameservers I want to use. I have
> edited resolv.conf so that it looks at 127.0.0.1. I have put PEERDNS=no into
> ifcfg-eth0 so that resolv.conf does not get overwritten at boot. I have
> edited dnsmasq.conf to use only resolv.servers in strict order.
>
> I am able to connect to the internet and I can verify that I am using my
> chosen nameservers, so this setup appears to be working.
I know you mentioned in another reply to your original post that it was
working and performing a lot faster. But what I want to mention, is you
could do this as well..
1 - Setup dnsmasq on one of your machines, mainly a server type or
something?
2 - Setup your other machines to point to that one machine running
dnsmasq, as the dns server.
3 - May not need to do this, but I also put the ips/hostnames in the one
machine that is running dnsmasq, which will also let the other machines
perform local dns'ing a lot faster, especially if your internet goes
down.
Ways I do it above might not be correct, but that is how I been doing it
for the last few years when I first needed something like this and
learned about dnsmasq at the time.
Hope it works for you as well as me,
--
Mike Chambers
Madisonville, KY
"The best lil town on Earth!"
More information about the fedora-list
mailing list