My first python script involves doing some DNS lookups (for TXT records if that matters), and I am currently working through using the pydns module for this. Is this really the best DNS module to use for python though? For a start, it was last released in May 2002, and the documentation is somewhat sparse…
“People who wish to run MaraDNS 1.0 unsupported after 2010/12/21 need to keep in mind that MaraDNS 1.0 is not Y2038 compliant, and will have problems starting in 2036 or so.”
Gordon at work asks me what is happening with www.frozenchicken.com. If you hit the site, then you get the Google search interface. This is because of the DNS configuration for the domain:
challenger:~# host www.frozenchicken.com www.frozenchicken.com is an alias for www.google.com. www.google.com is an alias for www.l.google.com. www.l.google.com has address 22.214.171.124 www.l.google.com has address 126.96.36.199 www.l.google.com has address 188.8.131.52 www.frozenchicken.com is an alias for www.google.com. www.google.com is an alias for www.l.google.com. www.frozenchicken.com is an alias for www.google.com. www.google.com is an alias for www.l.google.com.
You can see that www.frozenchicken.com is an alias for www.google.com, which in turn points to what is presumably my local cluster.
So why do all the links of the Google page then point via www.frozenchicken.com? Well, because they’re relative URLs, they use the hostname from the browser.