Permalink
Browse files

remove hardcoding of port 53 for TCP/IP forwarded zones in recursor, …

…to address #4799

(cherry picked from commit 1bde6ef)
  • Loading branch information...
ahupowerdns authored and pieterlexis committed Dec 21, 2016
1 parent a08b422 commit e7c183d851160542905d76e6691be85dfa6e14cc
Showing with 1 addition and 3 deletions.
  1. +1 −3 pdns/lwres.cc
View
@@ -173,9 +173,7 @@ int asyncresolve(const ComboAddress& ip, const DNSName& domain, int type, bool d
s.bind(local);
- ComboAddress remote = ip;
- remote.sin4.sin_port = htons(53);
- s.connect(remote);
+ s.connect(ip);
uint16_t tlen=htons(vpacket.size());
char *lenP=(char*)&tlen;

0 comments on commit e7c183d

Please sign in to comment.