dnsmasq relationship with resolv.conf
by bifferos from LinuxQuestions.org on (#4R4NA)
I have what I thought was a fairly simple dnsmasq configuration:
Dnsmasq is installed on a router.
External interface: DHCP
Internal private network interface: Static
Clients get DHCP addresses on my private network, and they can resolve each other's DNS names which I've linked to their MAC addresses in dnsmasq.conf. however only one thing doesn't work: When logged into the gateway machine I can't resolve any of the machine names on the private network, even when giving the fqdn.
I have this as the first line in my resolv.conf on that gateway:
Code:nameserver 127.0.0.1So I thought that's supposed to mean dnsmasq is giving out the dns addresses, so that should mean it doesn't just forward to the upstream DNS server but it seems that's exactly what it's doing, without checking any of the local DNS config.
Anyone seen this before?


Dnsmasq is installed on a router.
External interface: DHCP
Internal private network interface: Static
Clients get DHCP addresses on my private network, and they can resolve each other's DNS names which I've linked to their MAC addresses in dnsmasq.conf. however only one thing doesn't work: When logged into the gateway machine I can't resolve any of the machine names on the private network, even when giving the fqdn.
I have this as the first line in my resolv.conf on that gateway:
Code:nameserver 127.0.0.1So I thought that's supposed to mean dnsmasq is giving out the dns addresses, so that should mean it doesn't just forward to the upstream DNS server but it seems that's exactly what it's doing, without checking any of the local DNS config.
Anyone seen this before?