hosts-file
The tool to check the availability or syntax of domain, IP or URL.
Manage hosts file Python way