From: Dave Taht <dave.taht@gmail.com>
To: Fred Stratton <fredstratton@imap.cc>
Cc: "cerowrt-devel@lists.bufferbloat.net"
<cerowrt-devel@lists.bufferbloat.net>
Subject: [Cerowrt-devel] dnsmasq setup (was Re: 3.10.15-5 released)
Date: Mon, 14 Oct 2013 21:50:27 -0700 [thread overview]
Message-ID: <CAA93jw4a_mZ6iaLgDAwiiCbyiqyDROyHZSOB7OT_BkVMZuYb-A@mail.gmail.com> (raw)
Well, it looks like the problem lies somewhere in how openwrt
generates dnsmasq's conf file, which has changed since august
somewhere. It's not the new dnsmasq that is at fault.
It incidentally has been YEARS since I looked at how this stuff got
setup, and it can be improved. Notably I was trying to use a web proxy
by default early on and I have no idea if the dhcp method works for
that on anything nowadays. (?)
(Although I supply a wpad address here I do not supply the relevant
wpad proxy data by default. I guess I should get around to documenting
that or removing the functionality)
(does anyone besides me use polipo?)
Anyway, this is what cerowrt 3.7.5 did for /var/etc/dnsmasq.conf
(mildly modified for my internal setup here). I'm about to wipe this
particular router and install 3.10.15-5. (I've also been reviewing the
existing firewall rules in light of some changes since feburary, and
they can be improved also....)
# auto-generated config file from /etc/config/dhcp
conf-file=/etc/dnsmasq.conf
dhcp-authoritative
domain-needed
localise-queries
read-ethers
bogus-priv
expand-hosts
dhcp-script=/etc/dnsmasq_net6.sh
cache-size=5000
port=53
domain=davesyurt.lupinlodge.org
server=/davesyurt.lupinlodge.org/
server=/yurtlab.lupinlodge.org/fd03::1
except-interface=ge00
dhcp-leasefile=/tmp/dhcp.leases
resolv-file=/tmp/resolv.conf.auto
stop-dns-rebind
rebind-localhost-ok
address=/gw.davesyurt.lupinlodge.org/172.21.0.1
ptr-record=1.0.21.172.in-addr.arpa,gw.davesyurt.lupinlodge.org
address=/wpad.davesyurt.lupinlodge.org/172.21.0.1
ptr-record=1.0.21.172.in-addr.arpa,wpad.davesyurt.lupinlodge.org
dhcp-range=se00,172.21.0.5,172.21.0.30,255.255.255.224,24h
dhcp-option=se00,42,0.0.0.0
dhcp-option=se00,44,0.0.0.0
dhcp-option=se00,45,0.0.0.0
dhcp-option=se00,46,8
dhcp-range=sw00,172.21.0.66,172.21.0.91,255.255.255.224,24h
dhcp-option=sw00,42,0.0.0.0
dhcp-option=sw00,44,0.0.0.0
dhcp-option=sw00,45,0.0.0.0
dhcp-option=sw00,46,8
dhcp-range=sw10,172.21.0.98,172.21.0.123,255.255.255.224,24h
dhcp-option=sw10,42,0.0.0.0
dhcp-option=sw10,44,0.0.0.0
dhcp-option=sw10,45,0.0.0.0
dhcp-option=sw10,46,8
dhcp-range=gw00,172.21.0.130,172.21.0.155,255.255.255.224,24h
dhcp-option=gw00,42,0.0.0.0
dhcp-option=gw00,44,0.0.0.0
dhcp-option=gw00,45,0.0.0.0
dhcp-option=gw00,46,8
dhcp-range=gw10,172.21.0.162,172.21.0.187,255.255.255.224,24h
dhcp-option=gw10,42,0.0.0.0
dhcp-option=gw10,44,0.0.0.0
dhcp-option=gw10,45,0.0.0.0
dhcp-option=gw10,46,8
no-dhcp-interface=ge00
no-dhcp-interface=gw01
no-dhcp-interface=gw11
reply other threads:[~2013-10-15 4:50 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://lists.bufferbloat.net/postorius/lists/cerowrt-devel.lists.bufferbloat.net/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAA93jw4a_mZ6iaLgDAwiiCbyiqyDROyHZSOB7OT_BkVMZuYb-A@mail.gmail.com \
--to=dave.taht@gmail.com \
--cc=cerowrt-devel@lists.bufferbloat.net \
--cc=fredstratton@imap.cc \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox