![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
DNS package which works similar to native DNS package of Node but internally using dig for fast updations
DNS package which works similar to native DNS package of Node but internally using dig for fast updations
npm install dns-dig --save
var dns = require('dns-dig')()
dns.resolveIp4('example.com').then(ip4 => {
console.log(ip4); // ["93.184.216.34"]
});
The module exposes an object with different function which can be called with an optional options object:
var dns = require('dns-dig');
The options are:
host (Optional)
- If not set then will automatically utilize available host for query. Otherwise when an IP of any DNS provider is supplied, then it queries that specific host.dns.resolveIp4(domainName, {host: '1.1.1.1'})
Takes a string and returns an array of IPv4 addresses associated with the supplied domain if any.
dns.resolveCname(domainName, {host: '1.1.1.1'})
Takes a string and returns an array of CNAME Records associated with the supplied domain if any.
dns.resolveMx(domainName, {host: '1.1.1.1'})
Takes a string and returns an array of MX Records associated with the supplied domain if any.
dns.resolveNs(domainName, {host: '1.1.1.1'})
Takes a string and returns an array of NS Records associated with the supplied domain if any.
dns.resolveTxt(domainName, {host: '1.1.1.1'})
Takes a string and returns an array of TXT Records associated with the supplied domain if any.
MIT
FAQs
DNS package which works similar to native DNS package of Node but internally using dig for fast updations
The npm package dns-dig receives a total of 58 weekly downloads. As such, dns-dig popularity was classified as not popular.
We found that dns-dig demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.