https.toml 5.5 KB

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