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