Skip to the content.

DNS Response Validator Documentation

Welcome to the official documentation site for dns-response-validator.

Overview

This site contains:

Install

npm install dns-response-validator

Example

import { isARecord, validateDNSRecord } from "dns-response-validator";

const record = { type: "A", address: "192.168.1.1", ttl: 300 };
console.log(isARecord(record)); // true
console.log(validateDNSRecord(record));

Contributing

Issues and PRs welcome at the GitHub repository.


Generated automatically; custom landing page preserved on each deploy.