Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 02-25-2006, 04:01 PM   #1
LQ Newbie
Registered: Feb 2006
Posts: 3

Rep: Reputation: 0
dnsmasq question

I ran

dnsmasq --log-queries
so that I can see the activity coming through when I tail syslog.

Any requests made to a public web site (eg. show up in the log as being forwarded to the correct IP. And the correct page is displayed in the browser.

Any requests that match the contents of /etc/hostname, in this case, show up as multiple entries of:

Feb 25 14:35:35 dev1 dnsmasq[2359]: query[A] from

Feb 25 14:35:35 dev1 dnsmasq[2359]: /etc/hosts is
and the correct page displays in the browser.

But if I request another host added into my /etc/hosts file, like, the log shows:

Feb 25 14:54:20 dev1 dnsmasq[2359]: query[A] from

Feb 25 14:54:20 dev1 dnsmasq[2359]: forwarded to

Feb 25 14:54:20 dev1 dnsmasq[2359]: reply is <NXDOMAIN>-IPv4

and a cannot find server or dns error is displayed.

Here is my /etc/hosts file:
Code:       localhost.localdomain   localhost       dev1    dev1       test

I don't understand why is not being redirected to the appropriate place. Is there anything else I have to configure for this tto work?


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
dnsmasq.conf exvor Linux - Software 2 06-24-2005 05:28 PM
running rc.dnsmasq davidsrsb Slackware 2 09-23-2004 10:12 PM
dnsmasq users? TheRealDeal Linux - Networking 6 04-29-2004 01:24 AM
dnsmasq startup bardinjw Linux - Networking 2 07-19-2003 03:36 AM
Dnsmasq dunkyb Linux - Software 0 03-16-2003 02:25 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:38 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