Modify

Opened 2 years ago

Last modified 2 years ago

#20595 new defect

dnsmasq: /var/etc/dnsmasq.conf 'local' parameter key is being wrongly auto-generated as 'server'

Reported by: darksynical@… Owned by: developers
Priority: high Milestone: Chaos Calmer 15.05
Component: packages Version:
Keywords: dnsmasq Cc:

Description

I installed chaos calmer on my netgear wndr3700.

While setting up DHCP and DNS, I noticed that when /var/etc/dnsmasq.conf get auto-generated, the 'local' parameter key is being wrongly auto-generated as 'server'.

#########

root@router:/# cat /var/etc/dnsmasq.conf
# auto-generated config file from /etc/config/dhcp
conf-file=/etc/dnsmasq.conf
dhcp-authoritative
domain-needed
filterwin2k
localise-queries
read-ethers
bogus-priv
expand-hosts
local-service
domain=synical
server=/synical/
server=10.0.10.2
dhcp-leasefile=/tmp/dhcp.leases
resolv-file=/tmp/resolv.conf.auto
addn-hosts=/tmp/hosts
conf-dir=/tmp/dnsmasq.d
stop-dns-rebind
rebind-localhost-ok
dhcp-broadcast=tag:needs-broadcast
....

#########

Looking at the above, its being generated as...

domain=synical
server=/synical/
server=10.0.10.2

I believe the above should be "local=/synical/" (per: http://wiki.openwrt.org/doc/howto/dhcp.dnsmasq), and instead it using the parameter keyword for DNS forwarders.

In LUCI, I specified "/synical/" under Network -> DHCP and DNS -> General Settings -> Local server

Can you please take a look? Thank you.

Attachments (0)

Change History (1)

comment:1 Changed 2 years ago by anonymous

According to the dnsmasq man page "local" is a synonym for "server" so it makes no difference what is used.

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.