Skip to content
This repository has been archived by the owner on Aug 11, 2021. It is now read-only.

Latest commit

 

History

History
46 lines (29 loc) · 1.6 KB

README.md

File metadata and controls

46 lines (29 loc) · 1.6 KB

DIF Logo

Universal Resolver Driver: dns

This is a Universal Resolver driver for DNS identifiers.

Specifications

Example Identifiers

ssi.labs.nic.at

Configuration

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)

Maven build:

mvn --settings settings.xml 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.