Consider this: >>> c=pycurl.Curl() # disable dns cache >>> c.setopt(c.DNS_CACHE_TIMEOUT,0) >>> c.setopt(c.VERBOSE,1) # set ip to .102 >>> c.setopt(c.RESOLVE,['ya.ru:80:127.0.0.102']) >>> c.setopt(c.URL,'http://ya.ru') >>> c.perform() * A...