Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I resolve an SRV record in Python?

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

like image 280
Gili Nachum Avatar asked Jul 27 '09 16:07

Gili Nachum


People also ask

How do I query an SRV record?

How to lookup SRV records on Windows. To check the SRV records for a certain domain name on Windows, follow these steps: Open a command prompt by navigating to Start → 'Type here to search' → 'cmd' → Open. Type nslookup -q=srv example.com and hit [enter] to get the SRV records for example.com .

How do I remove SRV records?

On one of the other DCs, open Server Manager, select Tools, and then select DNS. In DNS Manager, inspect the containers under Forward Lookup Zones and then delete the SRV records for the DC that you demoted.


1 Answers

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
like image 142
ars Avatar answered Sep 28 '22 09:09

ars