@aleph-sdk/dns
TypeScript icon, indicating that this package has built-in type declarations

1.2.0 • Public • Published

@aleph-sdk/dns

The @aleph-sdk/dns module provides a set of utilities for DNS resolution and manipulation, tailored for use within the Aleph.im ecosystem. It offers functionalities to parse hostnames from URLs, perform DNS queries for various record types, and validate domain configurations against specific criteria.

This package uses node:dns, which needs to be polyfilled, if used in a browser environment.

Features

  • Parse hostnames from URLs, with or without protocols specified.
  • Resolve IPv4 and IPv6 addresses.
  • Fetch DNSLink records.
  • Validate domain configurations for Aleph.im specific targets (e.g., IPFS files, deployed ASGI programs and instances).

Installation

You can install @aleph-sdk/dns using npm:

npm install @aleph-sdk/dns

Readme

Keywords

none

Package Sidebar

Install

npm i @aleph-sdk/dns

Weekly Downloads

2

Version

1.2.0

License

ISC

Unpacked Size

38.6 kB

Total Files

8

Last publish

Collaborators

  • amalcaraz