SRV RecordΒΆ

The SRV record is a service locator record.
This helps others identify certain services such as Active Directory, chat servers etc.

Note

This example assuming the main server instance is called dns.

dns.add('_chat._tcp.hvornum.se', 'SRV', target='chat.hvornum.se', port=8080, priority=10)
This creates a SRV record that tells a chat application, that the primary host and port for the chat is located at tcp://chat.hvornum.se:8080.