Set-Location .\src-d\diva-dns\Expand-Archive -Path .\image\diva-dns-image.zip -DestinationPath .\image\docker load -i .\image\diva-dns-image.tarVariant 1: Attach the terminal for direct input
docker compose up -d && docker attach i2p.diva.dnsVariant 2: Build and start without attaching:
docker compose up -dIf you attached the terminal, then shut down the service by typing exit. Then:
docker compose downThe Terminal provides three commands:
With the Get command you can check the "B32" IP of a domain.
get [domain-name].i2pWith 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.
exitServer 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}$