Set-Location .\src-d\diva-dns\
Expand-Archive -Path .\image\diva-dns-image.zip -DestinationPath .\image\
docker load -i .\image\diva-dns-image.tar
Variant 1: Attach the terminal for direct input
docker compose up -d && docker attach i2p.diva.dns
Variant 2: Build and start without attaching:
docker compose up -d
If you attached the terminal, then shut down the service by typing exit
. Then:
docker compose down
The Terminal provides three commands:
With the Get command you can check the "B32" IP of a domain.
get [domain-name].i2p
With the put command you can register a domain name with a "B32" IP.
put [domain-name].i2p [b32-string]
With the Exit command you can shut down the Diva server and close the Terminal.
exit
Server is accessible under: http://127.19.72.227:19445/
.
GET /^([A-Za-z_-]{4,15}:){1,3}\.i2p$
PUT /^([A-Za-z_-]{4,15}:){1,3}\.i2p$/[a-z0-9]{53}$