view contrib/tor2dns/README @ 1202:306a7562f05e draft

????????: abs <post@abslimit.info> ?? ????? master ???? ????? ????????? ? ???????????? ? ?origin/master?. ?????????, ??????? ????? ???????? ? ??????: ????? ????: db/as/49608/owner ????? ????: db/dom/ano/abslimit/owner ????? ????: db/dom/ano/netstalking/owner ????? ????: db/ip/15/0A/0B/00/cidr ????? ????: db/ip/15/0A/0B/00/owner ????? ????: db/usr/abslimit/git
author abs <abs@abslimit.info>
date Sun, 13 May 2018 14:57:04 +0300
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.