srv

Homepage: https://github.com/legoscia/srv.el

Author: Magnus Henoch

Updated:

Summary

Perform SRV DNS requests

Commentary

This code implements RFC 2782 (SRV records).  It was originally
written for jabber.el , but is now a
separate package.

It is used to look up hostname and port for a service at a specific
domain.  There might be multiple results, and the caller is supposed
to attempt to connect to each hostname+port in turn.  For example,
to find the XMPP client service for the domain gmail.com:

(srv-lookup "_xmpp-client._tcp.gmail.com")
-> (("xmpp.l.google.com" . 5222)
    ("alt3.xmpp.l.google.com" . 5222)
    ("alt4.xmpp.l.google.com" . 5222)
    ("alt1.xmpp.l.google.com" . 5222)
    ("alt2.xmpp.l.google.com" . 5222))

Dependencies

Reverse dependencies