[Dnsmasq-discuss] Dnsmasq is not sending the hostname to the client.

james meyer james.meyer at operamail.com
Sun Jul 26 02:36:02 BST 2009


Hello,
I am attempting to make dnsmasq send hostnames to a dhcp client when it makes 
a request.   While working the Roy of dhcpcd fame we discovered that dnsmasq 
doesn't send the hostname  when the dhcp client sends a hostname to the 
server.  Howerver the the client doesn't send a hostname then dnsmasq will 
respond with the correct hostname as defined in the dnsmasq.conf.

I have run into a situation where I always want to know the hostname from 
dnsmasq regardless of what the client is going to do with it.  Is there a 
setting within the dnsmasq.conf file to enable this ability?  

-james




dnsmasq.conf

# cat /etc/dnsmasq.conf
pid-file=/var/run/dnsmasq.pid
interface=br0
resolv-file=/etc/resolv.dnsmasq
addn-hosts=/etc/hosts.dnsmasq
expand-hosts
min-port=4096
dhcp-range=192.168.1.101,192.168.1.250,255.255.255.0,10080m
dhcp-option=3,192.168.1.1
dhcp-lease-max=255
dhcp-authoritative
dhcp-host=00:E0:81:B3:12:FA,192.168.1.5,10080m
dhcp-host=00:1F:C6:09:BF:2F,192.168.1.101,10080m
dhcp-host=00:14:FD:12:50:54,192.168.1.114,10080m
local=/lan/
domain=lan
dhcp-option=6,192.168.1.1
dhcp-host=00:0C:29:CF:02:FC,192.168.1.205,fred




More information about the Dnsmasq-discuss mailing list