Ticket #221 (closed defect: worksforme)

Opened 6 years ago

Last modified 6 years ago

Replies not leaving from same address as they arrive

Reported by: anon Owned by: somebody
Priority: low Milestone:
Component: component1 Version: 2.0
Severity: normal Keywords:
Cc:

Description

When I send queries to PowerDNS on a box with multiple interfaces, the answers are not always leaving with the same address as they arrive.

So, for example, if I had:

 eth0 192.168.1.1
 eth1 192.168.2.1

Packets querying 192.168.1.1 will have the answer come from 192.168.2.1 on some machines.

I listed this as a low-priority bug because you can work around it by specifying the IP addresses to listen to in the local-address setting in pdns.conf:

local-address=192.168.1.1 192.168.2.1

Still, this is a violation of the DNS RFCs (not sure which one), and should be fixed.

Shane Kerr
shane@…

Change History

Changed 6 years ago by ahu

  • status changed from new to closed
  • resolution set to worksforme

Shane,

We recommend that people bind to explicit addresses, and warn about not doing so on startup.

The fix to automate this is non-trivial and non-portable over operating systems.

In general, there is no need for a nameserver bound to 0.0.0.0.

So I don't think we'll find the time to address this issue quickly..

Note: See TracTickets for help on using tickets.