Similar to #7, many systems have means of assigning the IP manually (i.e. /etc/hosts or %systemroot%\system32\drivers\etc\hosts).
We could add a hostname database like this:
hosts = {
"localhost": ("127.0.0.1","::1"),
"ip6-localnet": "fe00::0",
}
It could easily be extended by the developer if needed:
aiodns.hosts.update({"myhost.org": "1.2.3.4"})
Comments and ideas are welcome!
Similar to #7, many systems have means of assigning the IP manually (i.e.
/etc/hostsor%systemroot%\system32\drivers\etc\hosts).We could add a hostname database like this:
It could easily be extended by the developer if needed:
Comments and ideas are welcome!