How do I resolve an SRV record in Python?

后端 未结 4 1267
失恋的感觉
失恋的感觉 2020-12-18 00:43

Something which doesn\'t rely on native libraries would be better.

4条回答
  •  温柔的废话
    2020-12-18 01:11

    You could try the dnspython library:

    • http://www.dnspython.org/examples.html
    • http://www.dnspython.org/docs/1.7.1/html/dns.rdtypes.IN.SRV.SRV-class.html

提交回复
热议问题