123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188 |
- # A records
- [[cmd]]
- name = "Look up an existing A record using HTTPS"
- shell = "dog a-example.lookup.dog @https://cloudflare-dns.com/dns-query --short --https"
- stdout = { string = '10.20.30.40' }
- stderr = { empty = true }
- status = 0
- tags = [ "live", "cloudflare", "https", "a" ]
- [[cmd]]
- name = "Look up a missing A record using HTTPS"
- shell = "dog non.existent @https://cloudflare-dns.com/dns-query --short --https"
- stdout = { empty = true }
- stderr = { string = "No results" }
- status = 2
- tags = [ "live", "cloudflare", "https", "a" ]
- # AAAA records
- [[cmd]]
- name = "Look up an existing AAAA record using HTTPS"
- shell = "dog AAAA aaaa-example.lookup.dog @https://cloudflare-dns.com/dns-query --short --https"
- stdout = { string = '::1' }
- stderr = { empty = true }
- status = 0
- tags = [ "live", "cloudflare", "https", "aaaa" ]
- [[cmd]]
- name = "Look up a missing AAAA record using HTTPS"
- shell = "dog AAAA non.existent @https://cloudflare-dns.com/dns-query --short --https"
- stdout = { empty = true }
- stderr = { string = "No results" }
- status = 2
- tags = [ "live", "cloudflare", "https", "aaaa" ]
- # CAA records
- [[cmd]]
- name = "Look up an existing CAA record using HTTPS"
- shell = "dog CAA caa-example.lookup.dog @https://cloudflare-dns.com/dns-query --short --https"
- stdout = { string = '"issue" "some.certificate.authority" (non-critical)' }
- stderr = { empty = true }
- status = 0
- tags = [ "live", "cloudflare", "https", "caa" ]
- [[cmd]]
- name = "Look up a missing CAA record using HTTPS"
- shell = "dog CAA non.existent @https://cloudflare-dns.com/dns-query --short --https"
- stdout = { empty = true }
- stderr = { string = "No results" }
- status = 2
- tags = [ "live", "cloudflare", "https", "caa" ]
- # CNAME records
- [[cmd]]
- name = "Look up an existing CNAME record using HTTPS"
- shell = "dog CNAME cname-example.lookup.dog @https://cloudflare-dns.com/dns-query --short --https"
- stdout = { string = '"dns.lookup.dog."' }
- stderr = { empty = true }
- status = 0
- tags = [ "live", "cloudflare", "https", "cname" ]
- [[cmd]]
- name = "Look up a missing CNAME record using HTTPS"
- shell = "dog CNAME non.existent @https://cloudflare-dns.com/dns-query --short --https"
- stdout = { empty = true }
- stderr = { string = "No results" }
- status = 2
- tags = [ "live", "cloudflare", "https", "cname" ]
- # HINFO records
- [[cmd]]
- name = "Look up an existing HINFO record using HTTPS"
- shell = "dog HINFO hinfo-example.lookup.dog @https://cloudflare-dns.com/dns-query --short --https"
- stdout = { string = '"some-kinda-os"' }
- stderr = { empty = true }
- status = 0
- tags = [ "live", "cloudflare", "https", "hinfo" ]
- [[cmd]]
- name = "Look up a missing HINFO record using HTTPS"
- shell = "dog HINFO non.existent @https://cloudflare-dns.com/dns-query --short --https"
- stdout = { empty = true }
- stderr = { string = "No results" }
- status = 2
- tags = [ "live", "cloudflare", "https", "hinfo" ]
- # MX records
- [[cmd]]
- name = "Look up an existing MX record using HTTPS"
- shell = "dog MX mx-example.lookup.dog @https://cloudflare-dns.com/dns-query --short --https"
- stdout = { string = '10 "some.mail.server."' }
- stderr = { empty = true }
- status = 0
- tags = [ "live", "cloudflare", "https", "mx" ]
- [[cmd]]
- name = "Look up a missing MX record using HTTPS"
- shell = "dog MX non.existent @https://cloudflare-dns.com/dns-query --short --https"
- stdout = { empty = true }
- stderr = { string = "No results" }
- status = 2
- tags = [ "live", "cloudflare", "https", "mx" ]
- # NS records
- [[cmd]]
- name = "Look up an existing NS record using HTTPS"
- shell = "dog NS lookup.dog @https://cloudflare-dns.com/dns-query --short --https"
- stdout = { string = 'ns1' }
- stderr = { empty = true }
- status = 0
- tags = [ "live", "cloudflare", "https", "ns" ]
- [[cmd]]
- name = "Look up a missing NS record using HTTPS"
- shell = "dog NS non.existent @https://cloudflare-dns.com/dns-query --short --https"
- stdout = { empty = true }
- stderr = { string = "No results" }
- status = 2
- tags = [ "live", "cloudflare", "https", "ns" ]
- # SOA records
- [[cmd]]
- name = "Look up an existing SOA record using HTTPS"
- shell = "dog SOA lookup.dog @https://cloudflare-dns.com/dns-query --short --https"
- stdout = { string = 'ns1' }
- stderr = { empty = true }
- status = 0
- tags = [ "live", "cloudflare", "https", "soa" ]
- [[cmd]]
- name = "Look up a missing SOA record using HTTPS"
- shell = "dog MX non.existent @https://cloudflare-dns.com/dns-query --short --https"
- stdout = { empty = true }
- stderr = { string = "No results" }
- status = 2
- tags = [ "live", "cloudflare", "https", "soa" ]
- # SRV records
- [[cmd]]
- name = "Look up an existing SRV record using HTTPS"
- shell = "dog SRV srv-example.lookup.dog @https://cloudflare-dns.com/dns-query --short --https"
- stdout = { string = '20 "dns.lookup.dog.":5000' }
- stderr = { empty = true }
- status = 0
- tags = [ "live", "cloudflare", "https", "srv" ]
- [[cmd]]
- name = "Look up a missing SRV record using HTTPS"
- shell = "dog SRV non.existent @https://cloudflare-dns.com/dns-query --short --https"
- stdout = { empty = true }
- stderr = { string = "No results" }
- status = 2
- tags = [ "live", "cloudflare", "https", "srv" ]
- # TXT records
- [[cmd]]
- name = "Look up an existing TXT record using HTTPS"
- shell = "dog TXT txt-example.lookup.dog @https://cloudflare-dns.com/dns-query --short --https"
- stdout = { string = '"Cache Invalidation and Naming Things"' }
- stderr = { empty = true }
- status = 0
- tags = [ "live", "cloudflare", "https", "txt" ]
- [[cmd]]
- name = "Look up a missing TXT record using HTTPS"
- shell = "dog TXT non.existent @https://cloudflare-dns.com/dns-query --short --https"
- stdout = { empty = true }
- stderr = { string = "No results" }
- status = 2
- tags = [ "live", "cloudflare", "https", "txt" ]
|