4
0

tcp.toml 4.8 KB

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