Skip to content

Instantly share code, notes, and snippets.

@alecmuffett
Created February 15, 2020 14:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alecmuffett/04a8dda2f5787ae5fee8775bf61adf86 to your computer and use it in GitHub Desktop.
Save alecmuffett/04a8dda2f5787ae5fee8775bf61adf86 to your computer and use it in GitHub Desktop.
Messing around with DNSCrypt-Proxy and Onions
dnsstamp.py doh -l -s -f -a 169.254.255.253 -n dns4torpnlfs2ifuz2s2yf3fc7rdmsbhm6rw75euj35pac6ap25zgqad.onion -p /dns-query
DoH DNS stamp
=============
DNSSEC: yes
No logs: yes
No filter: yes
IP Address: 169.254.255.253
Hashes: []
Hostname: dns4torpnlfs2ifuz2s2yf3fc7rdmsbhm6rw75euj35pac6ap25zgqad.onion
Path: /dns-query
Bootstrap IPs: []
sdns://AgcAAAAAAAAADzE2OS4yNTQuMjU1LjI1MwA-ZG5zNHRvcnBubGZzMmlmdXoyczJ5ZjNmYzdyZG1zYmhtNnJ3NzVldWozNXBhYzZhcDI1emdxYWQub25pb24KL2Rucy1xdWVyeQ
-----
config file:
server_names = ['cloudflare', 'cloudflare-onion', 'google']
ipv4_servers = false
ipv6_servers = false
dnscrypt_servers = false
doh_servers = true
require_nolog = false
require_nofilter = true
require_dnssec = true
max_clients = 250
force_tcp = true
proxy = 'socks5://127.0.0.1:9050'
timeout = 10000
keepalive = 60
...
[static]
[static.'cloudflare-onion']
stamp = 'sdns://AgcAAAAAAAAADzE2OS4yNTQuMjU1LjI1MwA-ZG5zNHRvcnBubGZzMmlmdXoyczJ5ZjNmYzdyZG1zYmhtNnJ3NzVldWozNXBhYzZhcDI1emdxYWQub25pb24KL2Rucy1xdWVyeQ'
-----
Feb 15 14:17:15 xxx Tor[642]: Rejecting SOCKS request for anonymous connection to private address [scrubbed].
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment