Closed Anvil closed 6 months ago
This is great! I really appreciate your contribution.
Modified the servers.py a bit to receive the new file. The point was to separate the code from the generated data. It would not any good to mix up the two files, I think.
I like this approach and I'll probably reuse your same method for auto-generating the domains root db too.
Thanks again
Hello again!
So while trying to solve my own issue with asyncwhois incomplete IPv4 allocations list (#78), I've made a small tool to retrieve the data from iana and produce the structure currently used by asyncwhois.
Here's what I did:
tools/ipv4-allocations-update | black -l 79 - > asyncwhois/servers/ipv4.py
.