From c0d452affa28671788e661f27fa18e0ec24574af Mon Sep 17 00:00:00 2001 From: Edward Dore <5480052+spheron1@users.noreply.github.com> Date: Thu, 19 Dec 2019 17:48:42 +0000 Subject: [PATCH] Fix trusted-notification-proxy port Explicitly set the port for outgoing queries to the SuperMaster when using trusted-notification-proxy and EDNS Client Subnet Closes #8584 --- pdns/packethandler.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/packethandler.cc b/pdns/packethandler.cc index f1d4f28738..e0e78992fb 100644 --- a/pdns/packethandler.cc +++ b/pdns/packethandler.cc @@ -786,7 +786,7 @@ int PacketHandler::trySuperMasterSynchronous(const DNSPacket& p, const DNSName& { ComboAddress remote = p.getRemote().setPort(53); if(p.hasEDNSSubnet() && ::arg().contains("trusted-notification-proxy", remote.toString())) { - remote = p.getRealRemote().getNetwork(); + remote = p.getRealRemote().getNetwork().setPort(53); } Resolver::res_t nsset; -- 2.47.2