Tools to work with the Google DNS over HTTPS API in R https://cinc.rud.is/web/packages/gdns/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

mk-rsrc-rcrd-tbl.R 409B

1234567891011121314
  1. library(rvest)
  2. library(tidyverse)
  3. read_html("https://en.wikipedia.org/wiki/List_of_DNS_record_types") %>%
  4. html_node(xpath=".//table[contains(., 'Address record')]") %>%
  5. html_table() %>%
  6. tbl_df() %>%
  7. janitor::clean_names() %>%
  8. select(type=2, name=1, description=4, purpose=5) %>%
  9. filter(name != "ALIAS") %>%
  10. mutate(type = as.numeric(type)) -> resource_record_tbl
  11. use_data(resource_record_tbl)