it's even simpler with dnsmasq! thanks, alice!

This commit is contained in:
psyc://psyced.org/~lynX 2014-04-29 01:49:52 +02:00
parent 25317717e1
commit 8569644285
3 changed files with 15 additions and 4 deletions

View File

@ -376,7 +376,9 @@ X
$torify = "torsocks";
say "Enabling PSYC federation over Tor: Using "
. "torsocks wrapper around psyced.\n";
say "Warning: Maybe, if you install unbound.conf, it actually works.\n"
say "Warning: Make sure either dnsmasq.conf or "
. "unbound.conf are in\n"
. "place for .onion resolution to function.\n";
}
}
## ldmud bug number two

8
tor/dnsmasq.conf Normal file
View File

@ -0,0 +1,8 @@
# if you already have dnsmasq on your system,
# this should go into /etc/dnsmasq.conf:
server=/onion/127.0.0.1#9053
# or you can pass --server=/onion/127.0.0.1#9053
# to dnsmasq on the command line

View File

@ -1,7 +1,8 @@
# tell a localhost "unbound" DNS server to
# forward .onion requests into Tor
# courtesy of tg of secushare.org
# if you don't want dnsmasq on your system you
# can tell a localhost "unbound" DNS server to
# forward .onion requests into Tor.
#
# courtesy of tg of secushare.org
# see the unbound.conf(5) man page for more.
server: