[dnsdist] dnsdist using loopback address as source address for queries

Adam Bishop Adam.Bishop at jisc.ac.uk
Fri Oct 29 13:32:34 UTC 2021


On 29 Oct 2021, at 13:38, Remi Gacogne via dnsdist <dnsdist at mailman.powerdns.com> wrote:
> Would you mind checking that you still have IPv6 addresses on that interface? I see you still have some on the incoming interface, though, since we receive a query over IPv6 on file descriptor 18 in your strace output.

Yeah, it's a single interface system so the ingress/egress addresses are the same.

> Any events in the system logs that looks like the IP addresses might have changed at some point?

The only thing in dmesg is an SElinux policy update triggered by dnf, but no AVC entries that would indicate that being the cause. NetworkManager hasn't written anything to its own log since boot, which is normal.

> Anything in the dnsdist logs looking like a reconnect (error while writing to the backend, ..)? We should not reconnect unless send() failed with EINVAL or ENODEV, which is not supposed to happen in your case since you don't set the source interface.

There's some normal terminations when the backend is reloaded for config changes, e.g.

  dnsdist[1351]: Timeout while waiting for the health check response from backend [2001:630:1:170::67]:53
  dnsdist[1351]: Marking downstream [2001:630:1:170::67]:53 as 'down'
  dnsdist[1351]: Timeout while waiting for the health check response from backend 193.63.72.67:53
  dnsdist[1351]: Marking downstream 193.63.72.67:53 as 'down'
  dnsdist[1351]: Marking downstream [2001:630:1:170::67]:53 as 'up'
  dnsdist[1351]: Marking downstream 193.63.72.67:53 as 'up'

But that's it - the only other messages are "Packet from:"

Adam

Jisc is a registered charity (number 1149740) and a company limited by guarantee which is registered in England under company number. 05747339, VAT number GB 197 0632 86. Jisc’s registered office is: 4 Portwall Lane, Bristol, BS1 6NB. T 0203 697 5800.


Jisc Services Limited is a wholly owned Jisc subsidiary and a company limited by guarantee which is registered in England under company number 02881024, VAT number GB 197 0632 86. The registered office is: 4 Portwall Lane, Bristol, BS1 6NB. T 0203 697 5800.


Jisc Commercial Limited is a wholly owned Jisc subsidiary and a company limited by shares which is registered in England under company number 09316933, VAT number GB 197 0632 86. The registered office is: 4 Portwall Lane, Bristol, BS1 6NB. T 0203 697 5800.


For more details on how Jisc handles your data see our privacy notice here: https://www.jisc.ac.uk/website/privacy-notice


More information about the dnsdist mailing list