Package: dnsmasq Version: 2.30-1 Severity: important Since the switch to 2.29 (or is it 2.28?), DHCP offers of dnsmasq are not answered. It works perfectly when downgrading to 2.27.
Extract of /var/log/syslog: Apr 25 20:35:54 penpen dnsmasq[32445]: DHCPDISCOVER(eth0) 00:03:9d:40:24:69 Apr 25 20:35:54 penpen dnsmasq[32445]: DHCPOFFER(eth0) 192.168.0.43 00:03:9d:40:24:69 Apr 25 20:36:02 penpen dnsmasq[32445]: DHCPDISCOVER(eth0) 00:03:9d:40:24:69 Apr 25 20:36:02 penpen dnsmasq[32445]: DHCPOFFER(eth0) 192.168.0.43 00:03:9d:40:24:69 (ad libidam) My dnsmasq.conf is attached. /etc/default/dnsmasq is empty. -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (499, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.15-1-686 Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Versions of packages dnsmasq depends on: ii adduser 3.86 Add and remove users and groups ii libc6 2.3.6-7 GNU C Library: Shared libraries ii netbase 4.25 Basic TCP/IP networking system dnsmasq recommends no packages. -- no debconf information
# Configuration file for dnsmasq. # # Format is one option per line, legal options are the same # as the long options legal on the command line. See # "/usr/sbin/dnsmasq --help" or "man 8 dnsmasq" for details. # Change these lines if you want dnsmasq to serve MX records. # Only one of mx-host and mx-target need be set, the other defaults # to the name of the host running dnsmasq. #mx-host= #mx-target= #selfmx #localmx # The following three options make you a better netizen, since they # tell dnsmasq to filter out queries which the public DNS cannot # answer, and which load the servers (especially the root servers) # uneccessarily. If you have a dial-on-demand link they also stop # these requests from bringing up the link uneccessarily. # Never forward plain names (with a dot or domain part) domain-needed # Reply to reverse queries for addresses in the non-routed address # space with the dotted.quad address bogus-priv # Filter useless windows-originated DNS requests filterwin2k # Change this line if you want dns to get its upstream servers from # somewhere other that /etc/resolv.conf resolv-file=/etc/resolvconf/run/interface/run/eth1 # If you don't want dnsmasq to read /etc/resolv.conf or any other # file, getting its servers for this file instead (see below), then # uncomment this #no-resolv # If you don't want dnsmasq to poll /etc/resolv.conf or other resolv # files for changes and re-read them then uncomment this. #no-poll # Add other name servers here, with domain specs if they are for # non-public domains. #server=/localnet/192.168.0.1 # Add local-only domains here, queries in these domains are answered # from /etc/hosts or DHCP only. local=/localnet/ # Add domains which you want to force to an IP address here. # The example below send any host in doubleclick.net to a local # webserver. #address=/doubleclick.net/127.0.0.1 # You no longer (as of version 1.7) need to set these to enable # dnsmasq to read /etc/ppp/resolv.conf since dnsmasq now uses the # "dip" group to achieve this. #user= #group= # If you want dnsmasq to listen for requests only on specified interfaces # (and the loopback) give the name of the interface (eg eth0) here. # Repeat the line for more than one interface. interface=eth0 # Or you can specify which interface _not_ to listen on #except-interface= # Or which to listen on by address (remember to include 127.0.0.1 if # you use this.) #listen-address= # If you don't want dnsmasq to read /etc/hosts, uncomment the # following line. #no-hosts # or if you want it to read another file, as well as /etc/hosts, use # this. #addn-hosts=/etc/banner_add_hosts # Set this (and domain: see below) if you want to have a domain # automatically added to simple names in a hosts-file. expand-hosts domain=localnet # Uncomment this to enable the integrated DHCP server, you need # to supply the range of addresses available for lease and optionally # a lease time. If you have more than one interface, you will need to # repeat this for each interface on which you want to supply DHCP # service. dhcp-range=192.168.0.66,192.168.0.191,5m # Supply parameters for specified hosts using DHCP. There are lots # of valid alternatives, do we will give examples of each. Note that # IP addresses DO NOT have to be in the range given above, they just # need to be on the same network. # Always allocate the host with ethernet address 11:22:33:44:55:66 # The IP address 192.168.0.60 #dhcp-host=11:22:33:44:55:66,192.168.0.60 # Always set the name of the host with hardware address # 11:22:33:44:55:66 to be "fred" #dhcp-host=11:22:33:44:55:66,fred # Always give the host with ethernet address 11:22:33:44:55:66 # the name fred and IP address 192.168.0.60 and lease time 45 minutes #dhcp-host=11:22:33:44:55:66,fred,192.168.0.60,45m dhcp-host=00:0a:95:88:82:a2,dorilys,192.168.0.32,infinite dhcp-host=00:11:24:95:a4:ad,kireseth-ap,192.168.0.33,infinite dhcp-host=00:0d:93:77:54:8c,kireseth,192.168.0.42,infinite dhcp-host=00:10:c6:6b:13:1e,hyperion,192.168.0.34,infinite dhcp-host=00:30:65:26:82:c7,dorilys,192.168.0.35,infinite dhcp-host=00:11:24:24:22:59,boscop,192.168.0.36,infinite dhcp-host=00:0d:93:3c:83:d6,boscop,192.168.0.37,infinite dhcp-host=00:11:24:a3:e3:04,leronis,192.168.0.38,infinite dhcp-host=00:11:24:41:72:68,leronis,192.168.0.39,infinite dhcp-host=00:11:24:93:e2:7d,thendara,192.168.0.40,infinite dhcp-host=00:11:24:7f:df:62,thendara-airport,192.168.0.41,infinite dhcp-host=00:03:9d:40:24:69,evilbunny,192.168.0.43,infinite # Give the machine which says it's name is "bert" IP address # 192.168.0.70 and an infinite lease #dhcp-host=bert,192.168.0.70,infinite # Always give the host with client identifier 01:02:02:04 # the IP address 192.168.0.60 #dhcp-host=id:01:02:02:04,192.168.0.60 # Always give the host with client identifier "marjorie" # the IP address 192.168.0.60 #dhcp-host=id:marjorie,192.168.0.60 # Send options to hosts which ask for a DHCP lease. # See RFC 2132 for details of available options. # Set the NTP time server addresses to 192.168.0.4 and 10.10.0.5 #dhcp-option=42,192.168.0.4,10.10.0.5 # Set the NIS domain name to "welly" #dhcp-option=40,welly # Set the boot filename and tftpd server name and address # for BOOTP. You will only need this is you want to # boot machines over the network. #dhcp-boot=/var/ftpd/pxelinux.0,boothost,192.168.0.3 # The DHCP server needs somewhere on disk to keep its lease database. # This defaults to a sane location, but if you want to change it, use # the line below. #dhcp-leasefile=/var/lib/dnsmasq/leases # Override the default route (which is normally automagically set # to be the machine running dnsmasq #dhcp-option=2,192,168.4.4 # Set the cachesize here. #cache-size=600 # If you want to disable negative caching, uncomment this. #no-negcache # Normally responses which come form /etc/hosts and the DHCP lease # file have Time-To-Live set as zero, which conventionally means # do not cache further. If you are happy to trade lower load on the # server for potentially stale date, you can set a time-to-live (in # seconds) here. #local-ttl= # If you want dnsmasq to detect attempts by Verisign to send queries # to unregistered .com and .net hosts to its sitefinder service and # have dnsmasq instead return the correct NXDOMAIN response, uncomment # this line. You can add similar lines to do the same for other # registries which have implemented wildcard A records. #bogus-nxdomain=64.94.110.11 # For debugging purposes, log each DNS query as it passes through # dnsmasq. #log-queries