LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 05-18-2010, 07:43 AM   #1
eztaitt
LQ Newbie
 
Registered: Dec 2005
Posts: 4

Rep: Reputation: 0
Question dnsmasq dhcp+dns resolv unless for server


Hi, I've set up a very simple net with a dhcp + dns server using dnsmasq.
It works but the server itself cant resolv clients names. Clients do resolv without any problem
my /etc/dnsmasq.conf
------
interface=eth0
dhcp-range=192.168.1.120,192.168.1.150,3m
dhcp-option=3,192.168.1.2
cache-size=50
dhcp-leasefile=/...
log-queries
log-facilities=/...
-----

I dont mean to be unpolite but the shorting system just shows very first lines.

as I said when I ping from the server a clients name it doesnt find it.
with the ip it works fine.
Ive tried a thousand options without any luck
Thanks in advance

eztaitt
 
Old 05-18-2010, 08:22 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,647

Rep: Reputation: 524Reputation: 524Reputation: 524Reputation: 524Reputation: 524Reputation: 524
Make sure dnsmasq is listening on localhost as well, then modify the server's /etc/resolv.conf to point to nameserver 127.0.0.1.
 
Old 05-18-2010, 09:25 AM   #3
eztaitt
LQ Newbie
 
Registered: Dec 2005
Posts: 4

Original Poster
Rep: Reputation: 0
thanks for the reply but it didnt work
log says "ignoring nameserver 127.0.0.1 local interface"
done lots of googlings for a solution and nothing.

eztaitt
 
  


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
Managed DNS server lists and dnsmasq DNS cache nitrousoxide82 Linux - Networking 1 02-21-2014 10:34 PM
dnsmasq as dhcp server on eth0 and networkmanager R03L Linux - Networking 31 04-13-2013 08:57 AM
Newbie :dhcp3 as DHCP + dnsmasq as DNS for small LAN ? Umanga Linux - Server 1 02-26-2010 04:14 AM
dnsmasq: failed to bind DHCP server socket: Address already in use taske Linux - Networking 2 11-08-2009 05:40 PM
LXer: Enhance your DNS and DHCP services with dnsmasq LXer Syndicated Linux News 0 10-04-2008 06:50 AM


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