Re: dnsmasq for caching

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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!"


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux