nodejs-weblineindia-dns-validation

1.0.5 • Public • Published

DNS-validation

A NodeJS component used for DNS validation.

Table of contents

Getting started

Install the npm package:

npm install nodejs-weblineindia-dns-validation
#OR
yarn add nodejs-weblineindia-dns-validation

Features

  • This component checks if domain name is registered and has a valid MX or A record.

Usage

Use isValidDNS function to validate dns server:

const { isValidDNS } = require('nodejs-weblineindia-dns-validation');
OR
import { isValidDNS } from 'nodejs-weblineindia-dns-validation'
 
async function valid(serverAddress) {
    try {
        // call this function in async function
        const result = await isValidDNS(serverAddress);
        console.log("Result ",result);
    } catch (error) {
        console.log(error)
    }
}
 
// call the function to check dns server
valid('smtp-mail.outlook.com')

Want to Contribute?

  • Created something awesome, made this code better, added some functionality, or whatever (this is the hardest part).
  • Fork it.
  • Create new branch to contribute your changes.
  • Commit all your changes to your branch.
  • Submit a pull request.

Need Help?

We also provide a free, basic support for all users who want to use dns validation in their software project. In case you want to customize this dns validation component as your development needs, then feel free to contact our NodeJS developers.


Collection of Components

We have built many other components and free resources for software development in various programming languages. Kindly click here to view our Free Resources for Software Development.


Changelog

Detailed changes for each release are documented in CHANGELOG.md.

Credits

nodejs-weblineindia-dns-validation is inspired by the dns.

License

MIT

Keywords

nodejs-weblineindia-dns-validation, node-dns-validation, dns-validation, dns, dnsvalidator, nodejs, node-component, nodecomponent, node, dns-resolver

Dependents (0)

Package Sidebar

Install

npm i nodejs-weblineindia-dns-validation

Weekly Downloads

1

Version

1.0.5

License

MIT

Unpacked Size

6.44 kB

Total Files

9

Last publish

Collaborators

  • partners-wli