Download your favorite Linux distribution at LQ ISO.
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 10-07-2004, 06:46 AM   #1
LQ Newbie
Registered: Feb 2004
Distribution: slackware
Posts: 14

Rep: Reputation: 0
dnsmasq wont resolve local names without suffix

I have setup dnsmasq on by slackware box. It uses my hosts file to resolve machines on my LAN. However it will not resolve names without the domain suffix.

For example as a domain name i just use
so an internal name is machine1

works fine

ping machine1
gets host cannot be resolved.

machine1 is in the hosts file with
and aliased as machine1, so in full it looks like
192.168.0.x machine1
On the server pinging machine1 works fine as it just uses the hosts file

I have set the and I have set it to expand-hosts but it still does not appear to work.
I have also tried removing the domain in the hosts file.

Any ideas would be appreciated.



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
Cannot resolve names bigd Linux - Networking 1 10-09-2005 12:06 PM
dnsmasq: not resolving names of dhcp'd computers vimico Linux - Networking 3 03-19-2005 05:39 PM
DNSMASQ Wont expand hosts Rooboy Linux - Networking 1 01-18-2005 10:02 AM
Cannot resolve local addresses on local network danielgrenyer Linux - Networking 6 01-14-2004 11:03 AM
Sendmail can't resolve names outside local network beng Linux - Networking 4 12-01-2003 12:09 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:11 PM.

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