udp.toml 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. # A records
  2. [[cmd]]
  3. name = "Look up an existing A record using UDP"
  4. shell = "dog a-example.lookup.dog @1.1.1.1 --short"
  5. stdout = { string = '10.20.30.40' }
  6. stderr = { empty = true }
  7. status = 0
  8. tags = [ "live", "cloudflare", "udp", "a" ]
  9. [[cmd]]
  10. name = "Look up a missing A record using UDP"
  11. shell = "dog non.existent @1.1.1.1 --short"
  12. stdout = { empty = true }
  13. stderr = { string = "No results" }
  14. status = 2
  15. tags = [ "live", "cloudflare", "udp", "a" ]
  16. # AAAA records
  17. [[cmd]]
  18. name = "Look up an existing AAAA record using UDP"
  19. shell = "dog AAAA aaaa-example.lookup.dog @1.1.1.1 --short"
  20. stdout = { string = '::1' }
  21. stderr = { empty = true }
  22. status = 0
  23. tags = [ "live", "cloudflare", "udp", "aaaa" ]
  24. [[cmd]]
  25. name = "Look up a missing AAAA record using UDP"
  26. shell = "dog AAAA non.existent @1.1.1.1 --short"
  27. stdout = { empty = true }
  28. stderr = { string = "No results" }
  29. status = 2
  30. tags = [ "live", "cloudflare", "udp", "aaaa" ]
  31. # CAA records
  32. [[cmd]]
  33. name = "Look up an existing CAA record using UDP"
  34. shell = "dog CAA caa-example.lookup.dog @1.1.1.1 --short"
  35. stdout = { string = '"issue" "some.certificate.authority" (non-critical)' }
  36. stderr = { empty = true }
  37. status = 0
  38. tags = [ "live", "cloudflare", "udp", "caa" ]
  39. [[cmd]]
  40. name = "Look up a missing CAA record using UDP"
  41. shell = "dog CAA non.existent @1.1.1.1 --short"
  42. stdout = { empty = true }
  43. stderr = { string = "No results" }
  44. status = 2
  45. tags = [ "live", "cloudflare", "udp", "caa" ]
  46. # CNAME records
  47. [[cmd]]
  48. name = "Look up an existing CNAME record using UDP"
  49. shell = "dog CNAME cname-example.lookup.dog @1.1.1.1 --short"
  50. stdout = { string = '"dns.lookup.dog."' }
  51. stderr = { empty = true }
  52. status = 0
  53. tags = [ "live", "cloudflare", "udp", "cname" ]
  54. [[cmd]]
  55. name = "Look up a missing CNAME record using UDP"
  56. shell = "dog CNAME non.existent @1.1.1.1 --short"
  57. stdout = { empty = true }
  58. stderr = { string = "No results" }
  59. status = 2
  60. tags = [ "live", "cloudflare", "udp", "cname" ]
  61. # CNAME records
  62. [[cmd]]
  63. name = "Look up an existing HINFO record using UDP"
  64. shell = "dog HINFO hinfo-example.lookup.dog @1.1.1.1 --short"
  65. stdout = { string = '"some-kinda-cpu"' }
  66. stderr = { empty = true }
  67. status = 0
  68. tags = [ "live", "cloudflare", "udp", "hinfo" ]
  69. [[cmd]]
  70. name = "Look up a missing HINFO record using UDP"
  71. shell = "dog HINFO non.existent @1.1.1.1 --short"
  72. stdout = { empty = true }
  73. stderr = { string = "No results" }
  74. status = 2
  75. tags = [ "live", "cloudflare", "udp", "hinfo" ]
  76. # MX records
  77. [[cmd]]
  78. name = "Look up an existing MX record using UDP"
  79. shell = "dog MX mx-example.lookup.dog @1.1.1.1 --short"
  80. stdout = { string = '10 "some.mail.server."' }
  81. stderr = { empty = true }
  82. status = 0
  83. tags = [ "live", "cloudflare", "udp", "mx" ]
  84. [[cmd]]
  85. name = "Look up a missing MX record using UDP"
  86. shell = "dog MX non.existent @1.1.1.1 --short"
  87. stdout = { empty = true }
  88. stderr = { string = "No results" }
  89. status = 2
  90. tags = [ "live", "cloudflare", "udp", "mx" ]
  91. # NS records
  92. [[cmd]]
  93. name = "Look up an existing NS record using UDP"
  94. shell = "dog NS lookup.dog @1.1.1.1 --short"
  95. stdout = { string = 'ns1' }
  96. stderr = { empty = true }
  97. status = 0
  98. tags = [ "live", "cloudflare", "udp", "ns" ]
  99. [[cmd]]
  100. name = "Look up a missing NS record using UDP"
  101. shell = "dog NS non.existent @1.1.1.1 --short"
  102. stdout = { empty = true }
  103. stderr = { string = "No results" }
  104. status = 2
  105. tags = [ "live", "cloudflare", "udp", "ns" ]
  106. # SOA records
  107. [[cmd]]
  108. name = "Look up an existing SOA record using UDP"
  109. shell = "dog SOA lookup.dog @1.1.1.1 --short"
  110. stdout = { string = 'ns1' }
  111. stderr = { empty = true }
  112. status = 0
  113. tags = [ "live", "cloudflare", "udp", "soa" ]
  114. [[cmd]]
  115. name = "Look up a missing SOA record using UDP"
  116. shell = "dog MX non.existent @1.1.1.1 --short"
  117. stdout = { empty = true }
  118. stderr = { string = "No results" }
  119. status = 2
  120. tags = [ "live", "cloudflare", "udp", "soa" ]
  121. # SRV records
  122. [[cmd]]
  123. name = "Look up an existing SRV record using UDP"
  124. shell = "dog SRV srv-example.lookup.dog @1.1.1.1 --short"
  125. stdout = { string = '20 "dns.lookup.dog.":5000' }
  126. stderr = { empty = true }
  127. status = 0
  128. tags = [ "live", "cloudflare", "udp", "srv" ]
  129. [[cmd]]
  130. name = "Look up a missing SRV record using UDP"
  131. shell = "dog SRV non.existent @1.1.1.1 --short"
  132. stdout = { empty = true }
  133. stderr = { string = "No results" }
  134. status = 2
  135. tags = [ "live", "cloudflare", "udp", "srv" ]
  136. # TXT records
  137. [[cmd]]
  138. name = "Look up an existing TXT record using UDP"
  139. shell = "dog TXT txt-example.lookup.dog @1.1.1.1 --short"
  140. stdout = { string = '"Cache Invalidation and Naming Things"' }
  141. stderr = { empty = true }
  142. status = 0
  143. tags = [ "live", "cloudflare", "udp", "txt" ]
  144. [[cmd]]
  145. name = "Look up a missing TXT record using UDP"
  146. shell = "dog TXT non.existent @1.1.1.1 --short"
  147. stdout = { empty = true }
  148. stderr = { string = "No results" }
  149. status = 2
  150. tags = [ "live", "cloudflare", "udp", "txt" ]