A
A
Alexander2016-12-09 09:52:22
Python
Alexander, 2016-12-09 09:52:22

How to resolve DNS SRV record in Python without installing DNS module?

Good morning,
Can you please tell me how to enable SRV records in pure Python? I don't want to drag the dnspython module into dependencies.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Max, 2016-12-09
@asand3r

What's the problem? raise the socket, listen, parse the packet. A description of the SRV request is available. There are plenty of pure python DNS examples on the web.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question