123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188 |
- # A records
- [[cmd]]
- name = "Look up an existing A record formatted as JSON"
- shell = "dog a-example.lookup.dog @1.1.1.1 --json"
- stdout = { string = '10.20.30.40' }
- stderr = { empty = true }
- status = 0
- tags = [ "live", "cloudflare", "json", "a" ]
- [[cmd]]
- name = "Look up a missing A record formatted as JSON"
- shell = "dog non.existent @1.1.1.1 --json"
- stdout = { string = '[]' }
- stderr = { empty = true }
- status = 0
- tags = [ "live", "cloudflare", "json", "a" ]
- # AAAA records
- [[cmd]]
- name = "Look up an existing AAAA record formatted as JSON"
- shell = "dog AAAA aaaa-example.lookup.dog @1.1.1.1 --json"
- stdout = { string = '::1' }
- stderr = { empty = true }
- status = 0
- tags = [ "live", "cloudflare", "json", "aaaa" ]
- [[cmd]]
- name = "Look up a missing AAAA record formatted as JSON"
- shell = "dog AAAA non.existent @1.1.1.1 --json"
- stdout = { string = '[]' }
- stderr = { empty = true }
- status = 0
- tags = [ "live", "cloudflare", "json", "aaaa" ]
- # CAA records
- [[cmd]]
- name = "Look up an existing CAA record formatted as JSON"
- shell = "dog CAA caa-example.lookup.dog @1.1.1.1 --json"
- stdout = { string = '"some.certificate.authority"' }
- stderr = { empty = true }
- status = 0
- tags = [ "live", "cloudflare", "json", "caa" ]
- [[cmd]]
- name = "Look up a missing CAA record formatted as JSON"
- shell = "dog CAA non.existent @1.1.1.1 --json"
- stdout = { string = '[]' }
- stderr = { empty = true }
- status = 0
- tags = [ "live", "cloudflare", "json", "caa" ]
- # CNAME records
- [[cmd]]
- name = "Look up an existing CNAME record formatted as JSON"
- shell = "dog CNAME cname-example.lookup.dog @1.1.1.1 --json"
- stdout = { string = '"dns.lookup.dog."' }
- stderr = { empty = true }
- status = 0
- tags = [ "live", "cloudflare", "json", "cname" ]
- [[cmd]]
- name = "Look up a missing CNAME record formatted as JSON"
- shell = "dog CNAME non.existent @1.1.1.1 --json"
- stdout = { string = '[]' }
- stderr = { empty = true }
- status = 0
- tags = [ "live", "cloudflare", "json", "cname" ]
- # HINFO records
- [[cmd]]
- name = "Look up an existing HINFO record formatted as JSON"
- shell = "dog HINFO hinfo-example.lookup.dog @1.1.1.1 --json"
- stdout = { string = '"some-kinda-os"' }
- stderr = { empty = true }
- status = 0
- tags = [ "live", "cloudflare", "json", "hinfo" ]
- [[cmd]]
- name = "Look up a missing HINFO record formatted as JSON"
- shell = "dog HINFO non.existent @1.1.1.1 --json"
- stdout = { string = '[]' }
- stderr = { empty = true }
- status = 0
- tags = [ "live", "cloudflare", "json", "hinfo" ]
- # MX records
- [[cmd]]
- name = "Look up an existing MX record formatted as JSON"
- shell = "dog MX mx-example.lookup.dog @1.1.1.1 --json"
- stdout = { string = 'some.mail.server.' }
- stderr = { empty = true }
- status = 0
- tags = [ "live", "cloudflare", "json", "mx" ]
- [[cmd]]
- name = "Look up a missing MX record formatted as JSON"
- shell = "dog MX non.existent @1.1.1.1 --json"
- stdout = { string = '[]' }
- stderr = { empty = true }
- status = 0
- tags = [ "live", "cloudflare", "json", "mx" ]
- # NS records
- [[cmd]]
- name = "Look up an existing NS record formatted as JSON"
- shell = "dog NS lookup.dog @1.1.1.1 --json"
- stdout = { string = 'ns1' }
- stderr = { empty = true }
- status = 0
- tags = [ "live", "cloudflare", "json", "ns" ]
- [[cmd]]
- name = "Look up a missing NS record formatted as JSON"
- shell = "dog NS non.existent @1.1.1.1 --json"
- stdout = { string = '[]' }
- stderr = { empty = true }
- status = 0
- tags = [ "live", "cloudflare", "json", "ns" ]
- # SOA records
- [[cmd]]
- name = "Look up an existing SOA record formatted as JSON"
- shell = "dog SOA lookup.dog @1.1.1.1 --json"
- stdout = { string = 'ns1' }
- stderr = { empty = true }
- status = 0
- tags = [ "live", "cloudflare", "json", "soa" ]
- [[cmd]]
- name = "Look up a missing SOA record formatted as JSON"
- shell = "dog MX non.existent @1.1.1.1 --json"
- stdout = { string = '[]' }
- stderr = { empty = true }
- status = 0
- tags = [ "live", "cloudflare", "json", "soa" ]
- # SRV records
- [[cmd]]
- name = "Look up an existing SRV record formatted as JSON"
- shell = "dog SRV srv-example.lookup.dog @1.1.1.1 --json"
- stdout = { string = 'dns.lookup.dog.' }
- stderr = { empty = true }
- status = 0
- tags = [ "live", "cloudflare", "json", "srv" ]
- [[cmd]]
- name = "Look up a missing SRV record formatted as JSON"
- shell = "dog SRV non.existent @1.1.1.1 --json"
- stdout = { string = '[]' }
- stderr = { empty = true }
- status = 0
- tags = [ "live", "cloudflare", "json", "srv" ]
- # TXT records
- [[cmd]]
- name = "Look up an existing TXT record formatted as JSON"
- shell = "dog TXT txt-example.lookup.dog @1.1.1.1 --json"
- stdout = { string = '"Cache Invalidation and Naming Things"' }
- stderr = { empty = true }
- status = 0
- tags = [ "live", "cloudflare", "json", "txt" ]
- [[cmd]]
- name = "Look up a missing TXT record formatted as JSON"
- shell = "dog TXT non.existent @1.1.1.1 --json"
- stdout = { string = '[]' }
- stderr = { empty = true }
- status = 0
- tags = [ "live", "cloudflare", "json", "txt" ]
|