Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
os-dns-native
Advanced tools
Perform DNS queries using native OS APIs. Unlike the built-in dns.resolve*
family of functions, this module talks to the OS instead of performing UDP
queries.
Currently, A (IPv4), AAAA (IPv6), CNAME, TXT and SRV are supported.
The library exports match a subset of the Node.js dns
module's. There is an
extra .withNodeFallback
variant that allows using the OS methods with a
fallback to the Node.js methods if the former failed.
import osDns from 'os-dns-native';
const addresses = await osDns.promises.resolve6('example.org');
console.log(addresses); // [ '2606:2800:220:1:248:1893:25c8:1946' ]
// Tries the OS API first, falls back to Node.js's own dns.promises.resolve6.
await osDns.withNodeFallback.promises.resolve6('example.org');
FAQs
Perform DNS queries using OS APIs
The npm package os-dns-native receives a total of 44,609 weekly downloads. As such, os-dns-native popularity was classified as popular.
We found that os-dns-native demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 32 open source maintainers 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.