[Dnsmasq-discuss] Use of "server=22.214.171.124" not the same as "server=/#/126.96.36.199" ?
simon at thekelleys.org.uk
Fri Feb 21 11:20:41 UTC 2014
On 21/02/14 11:07, Jesse Molina wrote:
> I was recently configuring an OpenWRT router, which uses Dnsmasq version
> I expected that when I configured a forwarder via the "server="
> configuration option, without a domain (the man page says domains are
> optional), it would behave like a wildcard and override the resolv-file,
> which has a different set of DNS servers.
> The man page says "If one or more optional domains are given, that
> server is used only for those domains and they are queried only using
> the specified server."
> "server=188.8.131.52" appears to do nothing. What is this doing, if anything?
It's exactly equivalent to
in the resolv-file, and both are read, so if you have a different server
in the resolv file, both will go on the list.
If you don't want to use the servers in /etc/resolv.conf, then
is probably what you need.
> So, perhaps "//184.108.40.206" would be the correct syntax? Nope, does not seem
> to work.
> "/#/220.127.116.11" works as expected and seems to be the correct answer.
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
More information about the Dnsmasq-discuss