[Dnsmasq-discuss] Optimal DNS settings
richardvoigt at gmail.com
richardvoigt at gmail.com
Wed Dec 15 02:57:46 GMT 2010
On Tue, Dec 14, 2010 at 5:26 PM, Adam Hardy <adam.ant at cyberspaceroad.com> wrote:
> dnsmasq has run happily on my system now for about 3 years and therein lies the
> problem. There's a config option I use that I now suspect might be causing a
> problem.
>
> I have a simple gateway box connecting to a DSL modem. It runs dhclient to get
> the DHCP info from the modem, and dnsmasq to offer DHCP services to the
> workstations on the LAN.
>
> For reasons I don't recall, I set up my dhclient.conf with
>
> "prepend domain-name-servers 127.0.0.1"
>
> However in the logs dnsmasq says it's ignoring 127.0.0.1 because it's a local
That's expected. By prepending localhost to your resolv.conf, you get
all other programs running on the machine to use dnsmasq first.
dnsmasq gets no benefit from consulting itself, so it ignores that
entry.
> interface and I run apache on the machine too and it complains at start-up
> although I can't find the log message now.
>
> I also have a network problem whose solution is to try to reduce the number of
> hops on my network path between me and a server in the States, which is why I'm
> looking at this now.
>
> Should I take out that prepend statement? Thanks for any advice,
>
> Adam
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>
More information about the Dnsmasq-discuss
mailing list