I\'d like to tell urllib2.urlopen (or a custom opener) to use 127.0.0.1 (or ::1) to resolve addresses. I wouldn\'t change my /etc/r开发者_如何学Goesolv.conf, however.