Package: dnsmasq
Version: 2.41-2
Severity: minor
It's left to the imagination what 'dnsmasq.conf.example'
exemplifies; it's wholly comments, and '/etc/dnsmasq.conf' already has
the same comments.
I was searching for specific examples, e.g.: a config file for 'eth0'
to serve DHCP, etc., with which to compare my non-working DHCP, but
no luck. (Trial & error can be difficult given such a feature rich
config file.)
Some minimal examples would be good, with few or no comments for
simplicity. These might include settings for: DNS & DHCP on, one on
with the other off, etc.
To help generate such examples, here's a shell function that filters
out comments and spaces:
nocomment () { grep -v -e '^#.*$\|^[[:space:]]*$' $1 ; }
My system, borked DHCP & all, approximately:
% nocomment < /etc/dnsmasq.conf
domain-needed
bogus-priv
resolv-file=/etc/ppp/resolv.conf
interface=eth0
bind-interfaces
expand-hosts
domain=foo.org
dhcp-range=192.168.1.50,192.168.1.99,12h
dhcp-host=00:04:75:A1:4C:D9,knoppix.foo.org,box.foo.org
dhcp-authoritative
Hope this helps...
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/dash
Versions of packages dnsmasq depends on:
ii adduser 3.105 add and remove users and groups
ii dnsmasq-base 2.41-2 A small caching DNS proxy and DHCP
ii netbase 4.30 Basic TCP/IP networking system
dnsmasq recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]