{"id":19311987,"url":"https://github.com/weblineindia/nodejs-dns-validation","last_synced_at":"2025-02-24T03:42:41.094Z","repository":{"id":129984744,"uuid":"272987455","full_name":"weblineindia/NodeJS-DNS-Validation","owner":"weblineindia","description":"A NodeJS component used for DNS validation.","archived":false,"fork":false,"pushed_at":"2020-08-11T14:12:06.000Z","size":13,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-06T04:03:04.154Z","etag":null,"topics":["dns","dns-resolver","dns-validation","dnsvalidator","node","node-component","node-dns-validation","node-package","nodecomponent","nodejs","nodejs-component","nodejs-packages","nodejs-weblineindia-dns-validation"],"latest_commit_sha":null,"homepage":"https://www.weblineindia.com/software-development-resources.html","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/weblineindia.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-06-17T13:53:53.000Z","updated_at":"2023-08-10T20:25:59.000Z","dependencies_parsed_at":"2023-05-22T23:30:45.080Z","dependency_job_id":null,"html_url":"https://github.com/weblineindia/NodeJS-DNS-Validation","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weblineindia%2FNodeJS-DNS-Validation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weblineindia%2FNodeJS-DNS-Validation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weblineindia%2FNodeJS-DNS-Validation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weblineindia%2FNodeJS-DNS-Validation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/weblineindia","download_url":"https://codeload.github.com/weblineindia/NodeJS-DNS-Validation/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240415216,"owners_count":19797599,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dns","dns-resolver","dns-validation","dnsvalidator","node","node-component","node-dns-validation","node-package","nodecomponent","nodejs","nodejs-component","nodejs-packages","nodejs-weblineindia-dns-validation"],"created_at":"2024-11-10T00:32:00.325Z","updated_at":"2025-02-24T03:42:41.067Z","avatar_url":"https://github.com/weblineindia.png","language":"JavaScript","readme":"# DNS-validation\n\nA NodeJS component used for DNS validation. \n\n## Table of contents\n\n- [Getting started](#getting-started)\n- [Features](#features)\n- [Usage](#usage)\n- [Want to Contribute?](#want-to-contribute)\n- [Need Help / Support?](#need-help)\n- [Collection of Other Components](#collection-of-components)\n- [Changelog](#changelog)\n- [Credits](#credits)\n- [License](#license)\n- [Keywords](#Keywords)\n\n## Getting started\n\nInstall the npm package:\n\n``` bash\nnpm install nodejs-weblineindia-dns-validation\n#OR\nyarn add nodejs-weblineindia-dns-validation\n```\n## Features\n\n- This component checks if domain name is registered and has a valid MX or A record.\n\n## Usage\n\nUse `isValidDNS` function to validate dns server:\n\n```js\nconst { isValidDNS } = require('nodejs-weblineindia-dns-validation');\nOR\nimport { isValidDNS } from 'nodejs-weblineindia-dns-validation'\n\nasync function valid(serverAddress) {\n    try {\n        // call this function in async function\n        const result = await isValidDNS(serverAddress);\n        console.log(\"Result \",result);\n    } catch (error) {\n        console.log(error)\n    }\n}\n\n// call the function to check dns server\nvalid('smtp-mail.outlook.com')\n```\n\n-----\n\n## Want to Contribute?\n\n- Created something awesome, made this code better, added some functionality, or whatever (this is the hardest part).\n- [Fork it](http://help.github.com/forking/).\n- Create new branch to contribute your changes.\n- Commit all your changes to your branch.\n- Submit a [pull request](http://help.github.com/pull-requests/).\n\n-----\n\n## Need Help? \n\nWe 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](https://www.weblineindia.com/hire-node-js-developer.html).\n\n-----\n\n## Collection of Components\n\nWe 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](https://www.weblineindia.com/software-development-resources.html).\n\n------\n\n## Changelog\n\nDetailed changes for each release are documented in [CHANGELOG.md](./CHANGELOG.md).\n\n## Credits\n\nnodejs-weblineindia-dns-validation is inspired by the [dns](https://nodejs.org/api/dns.html).\n\n## License\n\n[MIT](LICENSE)\n\n[mit]: https://github.com/miguelmota/is-valid-domain/blob/e48e90f3ecd55431bbdba950eea013c2072d2fac/LICENSE\n\n## Keywords\n\n nodejs-weblineindia-dns-validation, node-dns-validation, dns-validation, dns, dnsvalidator, nodejs, node-component, nodecomponent, node, dns-resolver\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweblineindia%2Fnodejs-dns-validation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweblineindia%2Fnodejs-dns-validation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweblineindia%2Fnodejs-dns-validation/lists"}