-
Notifications
You must be signed in to change notification settings - Fork 53
Description
IRRd versions: 4.4.4 and 4.4.2
I need to periodically collect some bulk information from a locally installed IRRd, and I'm never getting the desired result.
The queries are !maut-num,ASnnnnn, !gASnnnnn, and !6ASnnnnn for a few hundred AS numbers. The client is using the perl Net::IRR module: https://metacpan.org/pod/Net::IRR
I tried two options, with quite the same result: a) sending all requests in one WHOIS connection; b) opening a new WHOIS connection on every request (here I hit the maximum number of connections, as it takes time to close the socket, so I have to add a sleep after each query).
Randomly, I'm getting errors like this:
Net::IRR read error: only received 1640 out of 1637 bytes from HOST:8043
Randomly, I'm getting empty results, although sending a query with the Linux whois client returns the data as expected.
Both client and server machines are within the same virtualization environment and the hosts are not very busy. Also, there's no firewall or anything that would intercept the TCP traffic.