Something which doesn\'t rely on native libraries would be better.
twisted has an excellent pure-python implementation, see twisted.names sources (especially dns.py). If you can't use all of their code, maybe you can extract and repurpose their Record_SRV class from that file.
Record_SRV