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): 22.214.171.124 (local) and IP from my ISP assigned
station 2: 126.96.36.199
station 3: 188.8.131.52
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 :
184.108.40.206 st1 st1.mydomain.com
220.127.116.11 st2 st2.mydomain.com
18.104.22.168 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 22.214.171.124 - 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 08:21 AM.|