
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
A simple DNS module for looking up hostnames + the total time taking to lookup the address in ms.
JSdns is a simple client-side DNS resolver. Supply it with a hostname and it will resolve it to its IPv4 address and FQDN along with the amount of time it took in milliseconds (ms).
I'm new to the world of JavaScript, learning more and more each day. I'm currently a Jnr DevOps Engineer and this is a way for me to learn and also provide a practical module to use.
npm install jsdns --save
...
var host = 'www.google.co.uk'; //This is the host you want to look up.
...
1 Jan 00:01:01 - IPv4 Address: 216.58.214.3
1 Jan 00:01:01 - Reverse Lookup for 216.58.214.3: ["lhr26s05-in-f3.1e100.net","lhr26s05-in-f3.1e100.net"]
1 Jan 00:01:01 - DNS Lookup of www.google.co.uk took 24ms
var dns = require('dns');
var util = require('util');
dnscache = require('dnscache')({
"enable": true,
"ttl": 300,
"cachesize": 1000
});
...
FAQs
A simple DNS module for looking up hostnames + the total time taking to lookup the address in ms.
We found that jsdns 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.