Re: [Dnsmasq-discuss] Bluetooth networking issue

2017-02-01 Thread Beniamino Galvani
On Wed, Feb 01, 2017 at 12:20:27PM -0700, Aaron Brice wrote: > On 01/31/2017 05:44 AM, Beniamino Galvani wrote: > > On Thu, Jan 26, 2017 at 02:22:14PM -0700, Aaron Brice wrote: > > > But there is neither a reply nor an error message after the query is > > > receive

Re: [Dnsmasq-discuss] Bluetooth networking issue

2017-01-31 Thread Beniamino Galvani
On Thu, Jan 26, 2017 at 02:22:14PM -0700, Aaron Brice wrote: > Simon, > > Thanks. dnsmasq is getting the queries, you can see them in the log: > > Jan 18 16:56:07 datasoft-travel dnsmasq[7973]: query[A] www.cnn.com from > 127.0.0.1 > > But there is neither a reply nor an error message after

Re: [Dnsmasq-discuss] [solved] Re: Finding actual DNS server used

2017-01-16 Thread Beniamino Galvani
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

[Dnsmasq-discuss] [PATCH] Refresh cached socket fd if the interface index changed

2016-08-25 Thread Beniamino Galvani
The socket bound to a specific interface in the daemon->sfds cache is reused also when the interface disappears and is created again, causing resolution problems. This problem can be seen when connecting to VPNs with NetworkManager: when the VPN is connected NM pushes through D-Bus a

Re: [Dnsmasq-discuss] Debugging dnsmasq on Ubuntu

2017-03-29 Thread Beniamino Galvani
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) > ;;

[Dnsmasq-discuss] [PATCH] Fix parsing of IPv6 addresses with peer from netlink

2022-05-18 Thread Beniamino Galvani
In the most common case, an IPv6 address doesn't have a peer and the IFA_ADDRESS netlink attribute contains the address itself. But if the address has a peer (typically for point to point links), then IFA_ADDRESS contains the peer address and IFA_LOCAL contains the address [1]. [1]

Re: [Dnsmasq-discuss] [PATCH] Fix parsing of IPv6 addresses with peer from netlink

2022-05-19 Thread Beniamino Galvani
On Wed, May 18, 2022 at 04:10:52PM +0200, Geert Stappers via Dnsmasq-discuss wrote: > There new lines and one old line > > + if (rta->rta_type == IFA_LOCAL) > > + addrp = ((struct in6_addr *)(rta+1)); > > + else if (rta->rta_type ==