caiwang / board2ihost

0 stars 0 forks source link

dnsmasq & upstream dns #30

Open caiwang opened 9 years ago

caiwang commented 9 years ago

Issue by unissoft-bj Wednesday Jan 28, 2015 at 08:42 GMT Originally opened as https://github.com/caiwang/ihostsrc/issues/30


upstream dns - setup page?

/etc/resolv.dnsmasq.conf

Jan 28 16:26:38 ihost dnsmasq[13860]: reading /etc/resolv.dnsmasq.conf Jan 28 16:26:38 ihost dnsmasq[13860]: using nameserver 8.8.8.8#53 Jan 28 16:26:38 ihost dnsmasq[13860]: using nameserver 202.99.166.4#53 Jan 28 16:26:38 ihost dnsmasq[13860]: using nameserver 202.99.160.68#53 Jan 28 16:26:38 ihost dnsmasq[13860]: read /etc/hosts - 7 addresses

local host

/etc/hosts echo "172.16.0.1 mtxwifi.net" >> /etc/hosts

root@ihost:~# cat /etc/hosts 127.0.0.1 localhost ::1 localhost ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters

127.0.1.1 ihost 172.16.0.1 mtxwifi.net root@ihost:~#