Skip to content
This repository has been archived by the owner. It is now read-only.
main
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 

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.