Skip to content
A Universal Resolver driver for domain names.
Java Dockerfile Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/workflows
docker
src
workflows
.gitignore
.gitlab-ci.yml
README.md
pom.xml

README.md

DIF Logo

Universal Resolver Driver: dns

This is a Universal Resolver driver for DNS identifiers.

Specifications

Example Identifiers

ssi.labs.nic.at

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)

  1. First, build https://github.com/decentralized-identity/universal-resolver/tree/master/resolver/java

Then run:

mvn clean install

Driver Environment Variables

The driver recognizes the following environment variables:

uniresolver_driver_dns_dnsServers

  • Specifies a semicolon-separated list of DNS servers to use for lookups.
  • Default value: (empty string)

Driver Metadata

The driver returns the following metadata in addition to a DID document:

  • did: A DID that was found for the given DNS identifier.
You can’t perform that action at this time.