Universal Resolver Driver: dns
This is a Universal Resolver driver for DNS identifiers.
For downloading the dependencies of this project a Personal Access Token for GitHub must be configured in file settings.xml according to Creating a personal access token for the command line.
Build and Run (Docker)
docker build -f ./docker/Dockerfile . -t universalresolver/driver-dns docker run -p 8080:8080 universalresolver/driver-dns curl -X GET http://localhost:8080/1.0/identifiers/ssi.labs.nic.at
Build (native Java)
mvn --settings settings.xml clean install
Driver Environment Variables
The driver recognizes the following environment variables:
- Specifies a semicolon-separated list of DNS servers to use for lookups.
- Default value: (empty string)
The driver returns the following metadata in addition to a DID document:
did: A DID that was found for the given DNS identifier.