I had tried dbus-monitor but message sniffing was disabled on my system
and it gave me no useful information.
I also considered tcpdump/wireshark to watch for outbound traffic on
port 53 but I also wanted to know when queries were being resolved from
cache, not just when they were resolved
Hi Joel,
2017-03-29 17:43 UTC+03.00, Joel Whitehouse :
>
> Is there any way to get dnsmasq to log when it issues a new query to a
> resolver?
>
You can run tcpdump on upstream interface and port 53.
Risto
___
Dnsmasq-discuss
On Wed, Mar 29, 2017 at 09:43:33AM -0500, Joel Whitehouse wrote:
> I'm running ubuntu 14, which uses dnsmasq as a local resolver on 127.0.1.1.
> When I issue a dig query, dig informs me it's using 127.0.1.1 as its
> resolver:
>
> ;; Query time: 3 msec
> ;; SERVER: 127.0.1.1#53(127.0.1.1)
> ;;
On Wednesday 29 March 2017 09:43:33 Joel Whitehouse wrote:
> Both the file /var/run/NetworkManager/dnsmasq.conf and the directory
> /etc/NetworkManager/dnsmasq.d/ are empty, so it's likely that dnsmasq is
> receiving its resovlers from Network Manager over the dbus interface.
Right.
> Is there
Hi Joel,
Le Wed, 29 Mar 2017 09:43:33 -0500
Joel Whitehouse a écrit:
> I'm running ubuntu 14, which uses dnsmasq as a local resolver on
> 127.0.1.1. When I issue a dig query, dig informs me it's using
> 127.0.1.1 as its resolver:
>
> ;; Query time: 3 msec
> ;;
On Wed, Mar 29, 2017 at 09:43:33AM -0500, Joel Whitehouse wrote:
> I'm running ubuntu 14, which uses dnsmasq as a local resolver on 127.0.1.1.
> When I issue a dig query, dig informs me it's using 127.0.1.1 as its
> resolver:
>
> ;; Query time: 3 msec
> ;; SERVER: 127.0.1.1#53(127.0.1.1)
> ;;
I'm running ubuntu 14, which uses dnsmasq as a local resolver on
127.0.1.1. When I issue a dig query, dig informs me it's using
127.0.1.1 as its resolver:
;; Query time: 3 msec
;; SERVER: 127.0.1.1#53(127.0.1.1)
;; WHEN: Wed Mar 29 09:36:06 CDT 2017
;; MSG SIZE rcvd: 63
However, I would