View Single Post
Posts: 2,802 | Thanked: 4,491 times | Joined on Nov 2007
#2
Originally Posted by GameboyRMH View Post
Title says it all...
It's probably easier to get them from /etc/resolv.conf instead.

/etc/dnsmasq.conf points to /var/run/resolv.conf, /var/run/resolv.conf.wlan0 and so on for each adapter, but these files don't exist
They should be created by the udhcpc script (somewhere under /etc/udhcpc) automatically whenever a connection is established, assuming the DHCP server actually provided DNS configuration.