[Dnsmasq-discuss] dns-server in opts file doesn't work
simon at thekelleys.org.uk
Tue Dec 17 17:00:31 GMT 2013
On 17/12/13 12:30, Shixiong Shang wrote:
> Hi, experts:
> I tried to leverage opts file to modify the recursive dns server IP conveyed in RA. The entry in the opts file is shown below:
> I tcpdumped the outgoing RA message, but the dns server IP is still set to the IPv6 address dnsmasq bound to. However, if I use "--dhcp-option=tag:tag1,option6:dns-server,[2001:4860:4860::8888]” as an option in the CLI, then it worked in the way as expected.
> Is there anything I did wrong in the opts file? It is still my preferred approach to use opts file.
I can't see any problem with that
Just to be sure, you're using --dhcp-optsfile=/path/to/file and the
lines in /path/to/file are
and you remebered to restart dnsmasq or send SIGHUP after you altered
That covers all the mistakes that people usually make with this.
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
More information about the Dnsmasq-discuss