A NodeJS component used for DNS validation.
- Getting started
- Features
- Usage
- Want to Contribute?
- Need Help / Support?
- Collection of Other Components
- Changelog
- Credits
- License
- Keywords
Install the npm package:
npm install nodejs-weblineindia-dns-validation
#OR
yarn add nodejs-weblineindia-dns-validation
- This component checks if domain name is registered and has a valid MX or A record.
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')
- 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.
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.
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.
Detailed changes for each release are documented in CHANGELOG.md.
nodejs-weblineindia-dns-validation is inspired by the dns.
nodejs-weblineindia-dns-validation, node-dns-validation, dns-validation, dns, dnsvalidator, nodejs, node-component, nodecomponent, node, dns-resolver