[Dnsmasq-discuss] qualified local domain queries return <NXDOMAIN>

L Forrister e1-7n32-h2qw-w2h3 at snugmail.com
Sun Mar 9 09:45:41 GMT 2008


dig queries to dnsmasq, such as:

    dig +short @192.168.25.0  nyox.water.bingo.lan  nyla.stone.bingo.lan

are being given a <NXDOMAIN> response.  But those domains are being 
specified in a
local= option in dnsmasq.conf.  Also reverse lookup queries return only 
unqualified names.

    dig +short @192.168.25.0  -x 192.168.24.92  -x 192.168.25.38
    nyla.
    nyox.

Am I missing something or is it that v2.35 is too old or...

I'm running Debian Etch.

dnsmasq.conf
============
domain-needed
no-resolv
local=/stone.bingo.lan/water.bingo.lan/
server=/misc.rebel.lan/rebel.lan/192.168.24.5
server=/misc.rebel.lan/rebel.lan/192.168.24.9
log-queries

dhcp-option=1,255.255.254.0                  # subnet mask
dhcp-option=3,192.168.24.1                   # default gateway
dhcp-option=6,192.168.24.5,192.168.24.9      # domain name server(s)
dhcp-option=stone,15,stone.bingo.lan         # domain name (stone group)
dhcp-option=water,15,water.bingo.lan         # domain name (water group)

dhcp-option=44,192.168.24.5,192.168.24.9     # set netbios-over-TCP/IP 
nameserver(s) aka WINS server(s)
dhcp-option=45,192.168.24.5,192.168.24.9     # netbios datagram 
distribution server(s)
dhcp-option=46,8                             # netbios node type
dhcp-option=47                               # empty netbios scope.

dhcp-host=nyla,192.168.24.92,net:stone       # nyla
dhcp-host=nyox,192.168.25.38,net:water       # nyox

dhcp-range=192.168.24.1,192.168.25.254,2m
^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^

command line output
===================
rosix:/home/lf# dnsmasq -d
dnsmasq: started, version 2.35 cachesize 150
dnsmasq: compile time options: IPv6 GNU-getopt no-ISC-leasefile DBus I18N
dnsmasq: DHCP, IP range 192.168.24.1 -- 192.168.25.254, lease time 2m
dnsmasq: using nameserver 192.168.24.9#53 for domain rebel.lan
dnsmasq: using nameserver 192.168.24.9#53 for domain misc.rebel.lan
dnsmasq: using nameserver 192.168.24.5#53 for domain rebel.lan
dnsmasq: using nameserver 192.168.24.5#53 for domain misc.rebel.lan
dnsmasq: using local addresses only for domain water.bingo.lan
dnsmasq: using local addresses only for domain stone.bingo.lan
dnsmasq: read /etc/hosts - 8 addresses
dnsmasq: query[A] nyox.water.bingo.lan from 192.168.24.40
dnsmasq: config nyox.water.bingo.lan is <NXDOMAIN>-IPv4
dnsmasq: query[A] nyla.stone.bingo.lan from 192.168.24.40
dnsmasq: config nyla.stone.bingo.lan is <NXDOMAIN>-IPv4
dnsmasq: query[PTR] 92.24.168.192.in-addr.arpa from 192.168.24.40
dnsmasq: DHCP 192.168.24.92 is nyla
dnsmasq: query[PTR] 38.25.168.192.in-addr.arpa from 192.168.24.40
dnsmasq: DHCP 192.168.25.38 is nyox
^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^




More information about the Dnsmasq-discuss mailing list