Description Usage Arguments Value See Also Examples
Returns the DNS SRV records for a given FQDN
1 2 | resolv_srv(fqdn, nameserver = NA_character_, showWarnings = FALSE,
full = FALSE)
|
fqdn |
input character vector (FQDN) |
nameserver |
the nameserver to send the request to (optional; uses standard resolver behavior if not specified) |
showWarnings |
display R warning messages (bool) |
full |
include full record response information in results (bool) |
data frame of SRV records (named fields; +owner,class,ttl if full
==TRUE
) or an empty list if none
http://www.nlnetlabs.nl/projects/ldns/
http://www.cambus.net/interesting-dns-hacks/
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run:
require(resolv)
library(plyr)
## google talk provides a good example for this
resolv_srv("_xmpp-server._tcp.gmail.com.", full=TRUE)
## fqdn priority weight port target owner class ttl
## 1 _xmpp-server._tcp.gmail.com. 5 0 5269 xmpp-server.l.google.com. _xmpp-server._tcp.gmail.com. 1 804
## 2 _xmpp-server._tcp.gmail.com. 20 0 5269 alt1.xmpp-server.l.google.com. _xmpp-server._tcp.gmail.com. 1 804
## 3 _xmpp-server._tcp.gmail.com. 20 0 5269 alt2.xmpp-server.l.google.com. _xmpp-server._tcp.gmail.com. 1 804
## 4 _xmpp-server._tcp.gmail.com. 20 0 5269 alt3.xmpp-server.l.google.com. _xmpp-server._tcp.gmail.com. 1 804
## 5 _xmpp-server._tcp.gmail.com. 20 0 5269 alt4.xmpp-server.l.google.com. _xmpp-server._tcp.gmail.com. 1 804
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.