blob: 5194c76638af409aef8a8e75466adf93c9ba46f7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
DESCRIPTION:
tor2dns is a quick solution to non-free
and centralized dns.
DEPENDS:
tor, daemontools, python
INSTALL:
mkdir /var/lib/tor/tor2dns
echo 'HiddenServiceDir /var/lib/tor/tor2dns' >> /etc/tor/torrc
echo 'HiddenServicePort 8053 127.0.0.1:8053' >> /etc/tor/torrc
#See note below, you may need to use the commented line.
#chown debian-tor /var/lib/tor/tor2dns
/etc/init.d/tor restart
mkdir /services/tor2dns
tar -xvf tor2dns.tgz --directory='/services'
cd /
ln -s /services/tor2dns /service
echo 'new dns link >>> http://'`cat /var/lib/tor/tor2dns/hostname`':8053'
UPDATE:
# pull a copy from AnoNet2
wget http://d3v11.ano/tor2dns.tgz
NOTE:
On some systems /var/lib/tor/tor2dns will need a special owner
like "debian-tor". If tor2dns fails for you please troubleshoot
your logs.
|