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 :
I have 3 stations with following IPs :
station 1 (with 2 NICs): 220.127.116.11 (local) and IP from my ISP assigned
station 2: 18.104.22.168
station 3: 22.214.171.124
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 :
126.96.36.199 st1 st1.mydomain.com
188.8.131.52 st2 st2.mydomain.com
184.108.40.206 st3 st3.mydomain.com
Here's the setup of my dnsmasq.conf:
after I restarted dnsmasq, I got this msg in /var/log/syslog
dnsmasq: ignoring nameserver 220.127.116.11 - local interface
What's that mean?
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. :)
|All times are GMT -5. The time now is 10:17 PM.|