tls.toml 4.8 KB

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