How can I do DNS lookups in Python, including referring to /etc/hosts? How can I do DNS lookups in Python, including referring to /etc/hosts? python python