LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 10-07-2004, 06:46 AM   #1
Rooboy
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 myhome.co.uk
so an internal name is machine1

so
ping machine1.myhome.co.uk
works fine

ping machine1
gets host cannot be resolved.

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

I have set the domain=myhome.co.uk 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.

Cheers!
 
  


Reply


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


All times are GMT -5. The time now is 06:56 AM.

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