dns-identity-resolution
Get DIDs stored in TXT records for domains
Table of Contents
Status
Stable
Installation
npm install arablocks/dns-identity-resolution
Usage
const getDID = const did = await
API Docs
async getDID({ domain, dns = '8.8.8.8', port = 53 })
Resolve TXT record matching given domain
domain
: Domain of TXT record[dns]
: IP of desired DNS server[port]
: Port to communicate with DNS server on
Returns Object<DID>
. Returns DID object of info about identity
Contributing
License
LGPL-3.0