LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 08-04-2005, 12:05 PM   #1
ultrax
LQ Newbie
 
Registered: Jun 2005
Posts: 19

Rep: Reputation: 0
dnsmasq can't work


I'm trying to setup dnsmasq but I couldn't figure out how to recognize my local ip stations associate with hostnames. It won't recognize it.


I own a domain name :

mydomain.com

I have 3 stations with following IPs :

station 1 (with 2 NICs): 192.10.0.1 (local) and IP from my ISP assigned
station 2: 192.10.0.2
station 3: 192.10.0.3

I use my station 1 as a gateway to Internet
DHCP can assign correctly the range of IP to my stations.

In my /etc/hosts :

127.0.0.1 localhost
192.10.0.1 st1 st1.mydomain.com
192.10.0.2 st2 st2.mydomain.com
192.10.0.3 st3 st3.mydomain.com


Here's the setup of my dnsmasq.conf:

interface=eth0
expand-hosts
dhcp-range=192.10.0.1,192.10.0.10
domain=mydomain.com

dhcp-host=00:01:AF:C6:EE:0E,192.10.0.1
dhcp-host=00:22:C1:EE:0E:FF,192.10.0.2
dhcp-host=00:20:69:56:88:99,192.10.0.3

after I restarted dnsmasq, I got this msg in /var/log/syslog

dnsmasq[10261]: ignoring nameserver 192.10.0.1 - local interface


What's that mean?
 
Old 08-05-2005, 09:06 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
First off, you shouldn't be using 192.10.X.X ip addresses. That aside, you can't use DHCP to assign the IP of the interface it is listening on.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration