docs: add guide for regaddr

This commit is contained in:
MDLeom 2020-03-21 00:21:32 +00:00
parent 30eb1f4382
commit 81abb20611
No known key found for this signature in database
GPG key ID: 21EA847C35D6E034

View file

@ -44,7 +44,7 @@ esac
### Building
make
make
## Tools included
@ -130,15 +130,23 @@ Print all info about the public key
./keyinfo -v privatekey.dat
### regaddr
Generate authentication string to register a domain on stats.i2p
./regaddr domain.dat domain.i2p > auth_string.txt
cat auth_string.txt
Send output of auth_string to http://stats.i2p/i2p/addkey.html
To register a subdomain, use [`regaddr_3ld`](#regaddr_3ld)
### regaddr_3ld
Generate authentication string for stats.i2p in 3 steps
####
Generate authentication string to register a subdomain on stats.i2p in 3 steps
./regaddr_3ld step1 sub_domain.dat sub.domain.i2p > step1.txt
./regaddr_3ld step2 step1.txt domain.dat domain.i2p > step2.txt
./regaddr_3ld step3 step2.txt sub_domain.dat > step3.txt
cat step3.txt
Send output from step3 to http://stats.i2p/i2p/addkey.html to register subdomain on stats.i2p
Send output from step3 to http://stats.i2p/i2p/addkey.html