force IPv4 on whois
This commit is contained in:
parent
7450c3c0f8
commit
8c6a048e1c
|
@ -160,6 +160,7 @@ function singleWhoisQuery(
|
||||||
host,
|
host,
|
||||||
port: WHOIS_PORT,
|
port: WHOIS_PORT,
|
||||||
localAddress: OUTGOING_ADDRESS,
|
localAddress: OUTGOING_ADDRESS,
|
||||||
|
family: 4,
|
||||||
timeout: WHOIS_TIMEOUT,
|
timeout: WHOIS_TIMEOUT,
|
||||||
}, () => socket.write(query + QUERY_SUFFIX));
|
}, () => socket.write(query + QUERY_SUFFIX));
|
||||||
socket.on('data', (chunk) => { data += chunk; });
|
socket.on('data', (chunk) => { data += chunk; });
|
||||||
|
|
Loading…
Reference in New Issue
Block a user