projects
/
pdns
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58b6f3f
)
remove hardcoding of port 53 for TCP/IP forwarded zones in recursor, to address ...
author
bert hubert
<bert.hubert@netherlabs.nl>
Wed, 21 Dec 2016 13:07:56 +0000
(14:07 +0100)
committer
bert hubert
<bert.hubert@netherlabs.nl>
Wed, 21 Dec 2016 13:07:56 +0000
(14:07 +0100)
pdns/lwres.cc
patch
|
blob
|
history
diff --git
a/pdns/lwres.cc
b/pdns/lwres.cc
index dd251445748c298bc48ef0962cc835d4af63849f..f7eb2506c1639976acef452690123568d6c2c369 100644
(file)
--- a/
pdns/lwres.cc
+++ b/
pdns/lwres.cc
@@
-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;