The problem is that urllib using httplib is querying for AAAA records.
I would like to avoid that. Is there a nice way to do that?
>>> impor
Look here: how-do-i-resolve-an-srv-record-in-python
Once you resolved the correct A ip, use it in your request, instead of the dns.