view contrib/tor2dns/README @ 1056:3437107cbeba draft

vain
author d3v11 <d3v11@d3v11.ano>
date Sun, 04 Nov 2012 15:22:06 +0000
parents 5c86c4e82b4c
children
line wrap: on
line source

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.