-   Linux - Networking (
-   -   DNSMASQ Wont expand hosts (

Rooboy 01-15-2005 09:23 AM

DNSMASQ Wont expand hosts
I have set up dnsmasq and have chosen the domain suffix, lame but accurate :-)

All works well except wont expand names properly,

e.g. works, even www. (notice the full stop) works but plain www (NO full stop) does not.

Any ideas how I can get it to expand the names properly?

I have set up the following entries in my hosts file

hosts: localhost www test download

dnsmasq conf:




peter_robb 01-18-2005 10:02 AM

From the /etc/dnsmasq.conf file.. v 2.19

# Set the domain for dnsmasq. this is optional, but if it is set, it
# does the following things.
# 1) Allows DHCP hosts to have fully qualified domain names, as long
#    as the domain part matches this setting.
# 2) Sets the "domain" DHCP option thereby potentially setting the
#    domain of all systems configured by DHCP
# 3) Provides the domain part for "expand-hosts"

Comment 3 says it all.. You will get expand-hosts with a domain name..

All times are GMT -5. The time now is 10:34 PM.