SHARE
TWEET

Response

a guest Jan 2nd, 2020 150 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Windows PowerShell
  2. Copyright (C) Microsoft Corporation. All rights reserved.
  3.                                                                                                                         Try the new cross-platform PowerShell https://aka.ms/pscore6                                                                                                                                                                                    PS C:\Users\Tomasz> nslookup -class=chaos -type=txt id.server 1.1.1.1                                                   Server:  one.one.one.one
  4. Address:  1.1.1.1
  5.                                                                                                                         Non-authoritative answer:                                                                                               id.server       text =                                                                                                                                                                                                                                  "KUL"
  6. PS C:\Users\Tomasz> tracert 1.1.1.1
  7.  
  8. Tracing route to one.one.one.one [1.1.1.1]
  9. over a maximum of 30 hops:
  10.  
  11.   1     2 ms     1 ms     1 ms  192.168.1.1
  12.   2     9 ms     4 ms     9 ms  202.186.224.1
  13.   3     *        *        *     Request timed out.
  14.   4     5 ms     6 ms     4 ms  223.28.43.70
  15.   5     9 ms     7 ms     7 ms  cloudflare.myix.my [218.100.44.185]
  16.   6     9 ms     7 ms     7 ms  one.one.one.one [1.1.1.1]
  17.  
  18. Trace complete.
  19. PS C:\Users\Tomasz> nslookup cloudflare.com 1.0.0.1
  20. Server:  one.one.one.one
  21. Address:  1.0.0.1
  22.  
  23. Non-authoritative answer:
  24. Name:    cloudflare.com
  25. Addresses:  2606:4700::6811:b055
  26.           2606:4700::6811:af55
  27.           104.17.175.85
  28.           104.17.176.85
  29.  
  30. PS C:\Users\Tomasz> powershell "(Invoke-WebRequest -UseBasicParsing -Uri 'https://1.1.1.1/dns-query?name=cloudflare.com' -Headers @{'Accept' = 'application/dns-json'}).RawContent"
  31. >>
  32. HTTP/1.1 200 OK
  33. Connection: keep-alive
  34. Access-Control-Allow-Origin: *
  35. Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
  36. CF-RAY: 54eaa0e06bf92cd9-KUL
  37. Content-Length: 258
  38. Content-Type: application/dns-json
  39. Date: Thu, 02 Jan 2020 06:20:40 GMT
  40. Server: cloudflare
  41.  
  42. {"Status":0,"TC":false,"RD":true,"RA":true,"AD":false,"CD":false,"Question":[{"name":"cloudflare.com","type":1}],"Answer":[{"name":"cloudflare.com","type":1,"TTL":95,"data":"104.17.175.85"},{"name":"cloudflare.com","type":1,"TTL":95,"data":"104.17.176.85"}]}
  43. PS C:\Users\Tomasz> powershell "(Invoke-WebRequest -UseBasicParsing -Uri 'https://1.0.0.1/dns-query?name=cloudflare.com' -Headers @{'Accept' = 'application/dns-json'}).RawContent"
  44. HTTP/1.1 200 OK
  45. Connection: keep-alive
  46. Access-Control-Allow-Origin: *
  47. Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
  48. CF-RAY: 54eaa156fdd92d09-KUL
  49. Content-Length: 258
  50. Content-Type: application/dns-json
  51. Date: Thu, 02 Jan 2020 06:20:59 GMT
  52. Server: cloudflare
  53.  
  54. {"Status":0,"TC":false,"RD":true,"RA":true,"AD":false,"CD":false,"Question":[{"name":"cloudflare.com","type":1}],"Answer":[{"name":"cloudflare.com","type":1,"TTL":79,"data":"104.17.175.85"},{"name":"cloudflare.com","type":1,"TTL":79,"data":"104.17.176.85"}]}
  55. PS C:\Users\Tomasz>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top