[Dnsmasq-discuss] [solved] Re: Finding actual DNS server used
bgalvani at redhat.com
Mon Jan 16 13:10:05 GMT 2017
On Mon, Jan 16, 2017 at 08:36:05AM +0200, Lars Noodén wrote:
> Thanks. That's it. I somehow missed it there in the manual page:
> When it receives a SIGUSR1, dnsmasq writes statistics
> to the system log. … For each upstream server
> it gives the number of queries sent, and the
> number which resulted in an error.
> That gives me the information I was looking for regarding verifying
> which server dnsmasq is using.
in addition to the suggested methods, an alternative way is to grep
system logs for:
dnsmasq: setting upstream servers from DBus
dnsmasq: using nameserver 192.168.10.1#53(via ens3)
In the next version of NetworkManager (1.6) it will be possible to
show the DNS configuration in the output of 'nmcli' , as:
ens3: connected to internet+
"Realtek RTL-8100/8101L/8139 PCI Fast Ethernet Adapter (QEMU Virtual Machine)"
ethernet (8139cp), 52:54:00:F1:61:81, hw, mtu 1500
More information about the Dnsmasq-discuss