mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-12 16:00:00 -04:00
Use Stream DNS in dig for DNS over TCP
This commit makes dig use the new Stream DNS transport for DNS over TCP.
This commit is contained in:
parent
2b7e85591f
commit
83f399b852
1 changed files with 3 additions and 3 deletions
|
|
@ -3062,9 +3062,9 @@ start_tcp(dig_query_t *query) {
|
|||
local_timeout);
|
||||
#endif
|
||||
} else {
|
||||
isc_nm_tcpdnsconnect(netmgr, &localaddr, &query->sockaddr,
|
||||
tcp_connected, connectquery,
|
||||
local_timeout);
|
||||
isc_nm_streamdnsconnect(netmgr, &localaddr, &query->sockaddr,
|
||||
tcp_connected, connectquery,
|
||||
local_timeout, NULL, NULL);
|
||||
}
|
||||
|
||||
/* XXX: set DSCP */
|
||||
|
|
|
|||
Loading…
Reference in a new issue