Perform Secure-by-default or Woefully Insecure ‘DNS’ Queries
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.

aaa.R 1.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. set_names <- function (object = nm, nm) { names(object) <- nm ; object }
  2. rr_types <- c(
  3. a = 1,
  4. ns = 2,
  5. md = 3,
  6. mf = 4,
  7. cname = 5,
  8. soa = 6,
  9. mb = 7,
  10. mg = 8,
  11. mr = 9,
  12. null = 10,
  13. wks = 11,
  14. ptr = 12,
  15. hinfo = 13,
  16. minfo = 14,
  17. mx = 15,
  18. txt = 16,
  19. rp = 17,
  20. afsdb = 18,
  21. x25 = 19,
  22. isdn = 20,
  23. rt = 21,
  24. nsap = 22,
  25. nsap_ptr = 23,
  26. sig = 24,
  27. key = 25,
  28. px = 26,
  29. gpos = 27,
  30. aaaa = 28,
  31. loc = 29,
  32. nxt = 30,
  33. eid = 31,
  34. nimloc = 32,
  35. srv = 33,
  36. atma = 34,
  37. naptr = 35,
  38. kx = 36,
  39. cert = 37,
  40. a6 = 38,
  41. dname = 39,
  42. sink = 40,
  43. opt = 41,
  44. apl = 42,
  45. ds = 43,
  46. sshfp = 44,
  47. ipseckey = 45,
  48. rrsig = 46,
  49. nsec = 47,
  50. dnskey = 48,
  51. dhcid = 49,
  52. nsec3 = 50,
  53. nsec3param = 51,
  54. tlsa = 52,
  55. smimea = 53,
  56. hip = 55,
  57. ninfo = 56,
  58. rkey = 57,
  59. talink = 58,
  60. cds = 59,
  61. cdnskey = 60,
  62. openpgpkey = 61,
  63. csync = 62,
  64. zonemd = 63,
  65. spf = 99,
  66. uinfo = 100,
  67. uid = 101,
  68. gid = 102,
  69. unspec = 103,
  70. nid = 104,
  71. l32 = 105,
  72. l64 = 106,
  73. lp = 107,
  74. eui48 = 108,
  75. eui64 = 109,
  76. tkey = 249,
  77. tsig = 250,
  78. ixfr = 251,
  79. axfr = 252,
  80. mailb = 253,
  81. maila = 254,
  82. any = 255,
  83. uri = 256,
  84. caa = 257,
  85. avc = 258,
  86. doa = 259,
  87. ta = 32768,
  88. dlv = 32769
  89. )
  90. rr_types_rev <- set_names(names(rr_types), as.character(rr_types))