Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ ./testing.sh
- + ./doh-cli a
- Namespace(RR='A', debug=False, dns='cloudflare', domain='a', output='plain', time=False, verbose=False)
- + ./doh-cli a libredns.gr
- Namespace(RR='libredns.gr', debug=False, dns='cloudflare', domain='a', output='plain', time=False, verbose=False)
- 116.202.176.26
- + ./doh-cli A libredns.gr
- Namespace(RR='libredns.gr', debug=False, dns='cloudflare', domain='A', output='plain', time=False, verbose=False)
- 116.202.176.26
- + ./doh-cli a libredns.gr --time
- Namespace(RR='libredns.gr', debug=False, dns='cloudflare', domain='a', output='plain', time=True, verbose=False)
- Query time: 423.157
- 116.202.176.26
- + ./doh-cli a --time
- Namespace(RR='A', debug=False, dns='cloudflare', domain='a', output='plain', time=True, verbose=False)
- Query time: 425.265
- + ./doh-cli a --time libredns.gr
- usage: doh-cli [-h] [--debug] [--verbose] [--output {plain,json}] [--dns DNS] [--time]
- domain [['A', 'AAAA', 'CNAME', 'MX', 'NS', 'SOA', 'SPF', 'SRV', 'TXT', 'CAA']]
- doh-cli: error: unrecognized arguments: libredns.gr
- + ./doh-cli libredns.gr
- Namespace(RR='A', debug=False, dns='cloudflare', domain='libredns.gr', output='plain', time=False, verbose=False)
- 116.203.115.192
- + ./doh-cli libredns.gr a
- Namespace(RR='a', debug=False, dns='cloudflare', domain='libredns.gr', output='plain', time=False, verbose=False)
- 116.203.115.192
- + ./doh-cli libredns.gr A
- Namespace(RR='A', debug=False, dns='cloudflare', domain='libredns.gr', output='plain', time=False, verbose=False)
- 116.202.176.26
- + ./doh-cli libredns.gr a --time
- Namespace(RR='a', debug=False, dns='cloudflare', domain='libredns.gr', output='plain', time=True, verbose=False)
- Query time: 435.329
- 116.203.115.192
- + ./doh-cli libredns.gr --time
- Namespace(RR='A', debug=False, dns='cloudflare', domain='libredns.gr', output='plain', time=True, verbose=False)
- Query time: 421.218
- 116.202.176.26
- + ./doh-cli libredns.gr --time a
- usage: doh-cli [-h] [--debug] [--verbose] [--output {plain,json}] [--dns DNS] [--time]
- domain [['A', 'AAAA', 'CNAME', 'MX', 'NS', 'SOA', 'SPF', 'SRV', 'TXT', 'CAA']]
- doh-cli: error: unrecognized arguments: a
- + ./doh-cli --time
- usage: doh-cli [-h] [--debug] [--verbose] [--output {plain,json}] [--dns DNS] [--time]
- domain [['A', 'AAAA', 'CNAME', 'MX', 'NS', 'SOA', 'SPF', 'SRV', 'TXT', 'CAA']]
- doh-cli: error: the following arguments are required: domain
- + ./doh-cli --time a
- Namespace(RR='A', debug=False, dns='cloudflare', domain='a', output='plain', time=True, verbose=False)
- Query time: 424.255
- + ./doh-cli --time a libredns.gr
- Namespace(RR='libredns.gr', debug=False, dns='cloudflare', domain='a', output='plain', time=True, verbose=False)
- Query time: 418.537
- 116.203.115.192
- + ./doh-cli --time libredns.gr
- Namespace(RR='A', debug=False, dns='cloudflare', domain='libredns.gr', output='plain', time=True, verbose=False)
- Query time: 417.274
- 116.203.115.192
- + ./doh-cli --time libredns.gr a
- Namespace(RR='a', debug=False, dns='cloudflare', domain='libredns.gr', output='plain', time=True, verbose=False)
- Query time: 418.014
- 116.203.115.192
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement