resolv_cname: Returns the DNS CNAME records for a given FQDN

Description Usage Arguments Value See Also Examples

Description

Returns the DNS CNAME records for a given FQDN

Usage

1
2
resolv_cname(fqdn, nameserver = NA_character_, showWarnings = FALSE,
  full = FALSE)

Arguments

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)

Value

vector or data frame (if full==TRUE) of CNAME records or character(0) if none

See Also

http://www.nlnetlabs.nl/projects/ldns/

http://www.cambus.net/interesting-dns-hacks/

Examples

1
2
3
4
5
6
7
## Not run: 
require(resolv)

resolv_cname("www.paypal.com")
[1] "www.paypal.com.akadns.net."

## End(Not run)

hrbrmstr/resolv documentation built on May 17, 2019, 5:12 p.m.