Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 01-15-2005, 09:23 AM   #1
LQ Newbie
Registered: Feb 2004
Distribution: slackware
Posts: 14

Rep: Reputation: 0
Unhappy 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:



Old 01-18-2005, 10:02 AM   #2
Senior Member
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
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..

Last edited by peter_robb; 01-18-2005 at 10:03 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
M Player: how can I expand a movie? Lead Expression Linux - Software 2 01-02-2005 12:24 PM
ntfs expand edgefield Linux - General 6 10-23-2004 09:28 PM
dnsmasq wont resolve local names without suffix Rooboy Linux - Networking 0 10-07-2004 06:46 AM
Need to expand /usr partition marenkiapina Linux - Software 2 05-22-2004 06:27 AM
how to expand my /tmp...partition Zvezda Linux - General 2 07-03-2003 07:42 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:10 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration