Advertisement
Guest User

Untitled

a guest
Apr 9th, 2020
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.08 KB | None | 0 0
  1. $ ./testing.sh
  2. + ./doh-cli a
  3. Namespace(RR='A', debug=False, dns='cloudflare', domain='a', output='plain', time=False, verbose=False)
  4. + ./doh-cli a libredns.gr
  5. Namespace(RR='libredns.gr', debug=False, dns='cloudflare', domain='a', output='plain', time=False, verbose=False)
  6. 116.202.176.26
  7. + ./doh-cli A libredns.gr
  8. Namespace(RR='libredns.gr', debug=False, dns='cloudflare', domain='A', output='plain', time=False, verbose=False)
  9. 116.202.176.26
  10. + ./doh-cli a libredns.gr --time
  11. Namespace(RR='libredns.gr', debug=False, dns='cloudflare', domain='a', output='plain', time=True, verbose=False)
  12. Query time: 423.157
  13.  
  14. 116.202.176.26
  15. + ./doh-cli a --time
  16. Namespace(RR='A', debug=False, dns='cloudflare', domain='a', output='plain', time=True, verbose=False)
  17. Query time: 425.265
  18.  
  19. + ./doh-cli a --time libredns.gr
  20. usage: doh-cli [-h] [--debug] [--verbose] [--output {plain,json}] [--dns DNS] [--time]
  21.                domain [['A', 'AAAA', 'CNAME', 'MX', 'NS', 'SOA', 'SPF', 'SRV', 'TXT', 'CAA']]
  22. doh-cli: error: unrecognized arguments: libredns.gr
  23. + ./doh-cli libredns.gr
  24. Namespace(RR='A', debug=False, dns='cloudflare', domain='libredns.gr', output='plain', time=False, verbose=False)
  25. 116.203.115.192
  26. + ./doh-cli libredns.gr a
  27. Namespace(RR='a', debug=False, dns='cloudflare', domain='libredns.gr', output='plain', time=False, verbose=False)
  28. 116.203.115.192
  29. + ./doh-cli libredns.gr A
  30. Namespace(RR='A', debug=False, dns='cloudflare', domain='libredns.gr', output='plain', time=False, verbose=False)
  31. 116.202.176.26
  32. + ./doh-cli libredns.gr a --time
  33. Namespace(RR='a', debug=False, dns='cloudflare', domain='libredns.gr', output='plain', time=True, verbose=False)
  34. Query time: 435.329
  35.  
  36. 116.203.115.192
  37. + ./doh-cli libredns.gr --time
  38. Namespace(RR='A', debug=False, dns='cloudflare', domain='libredns.gr', output='plain', time=True, verbose=False)
  39. Query time: 421.218
  40.  
  41. 116.202.176.26
  42. + ./doh-cli libredns.gr --time a
  43. usage: doh-cli [-h] [--debug] [--verbose] [--output {plain,json}] [--dns DNS] [--time]
  44.                domain [['A', 'AAAA', 'CNAME', 'MX', 'NS', 'SOA', 'SPF', 'SRV', 'TXT', 'CAA']]
  45. doh-cli: error: unrecognized arguments: a
  46. + ./doh-cli --time
  47. usage: doh-cli [-h] [--debug] [--verbose] [--output {plain,json}] [--dns DNS] [--time]
  48.                domain [['A', 'AAAA', 'CNAME', 'MX', 'NS', 'SOA', 'SPF', 'SRV', 'TXT', 'CAA']]
  49. doh-cli: error: the following arguments are required: domain
  50. + ./doh-cli --time a
  51. Namespace(RR='A', debug=False, dns='cloudflare', domain='a', output='plain', time=True, verbose=False)
  52. Query time: 424.255
  53.  
  54. + ./doh-cli --time a libredns.gr
  55. Namespace(RR='libredns.gr', debug=False, dns='cloudflare', domain='a', output='plain', time=True, verbose=False)
  56. Query time: 418.537
  57.  
  58. 116.203.115.192
  59. + ./doh-cli --time libredns.gr
  60. Namespace(RR='A', debug=False, dns='cloudflare', domain='libredns.gr', output='plain', time=True, verbose=False)
  61. Query time: 417.274
  62.  
  63. 116.203.115.192
  64. + ./doh-cli --time libredns.gr a
  65. Namespace(RR='a', debug=False, dns='cloudflare', domain='libredns.gr', output='plain', time=True, verbose=False)
  66. Query time: 418.014
  67.  
  68. 116.203.115.192
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement