
Product
Introducing the Alert Details Page: A Better Way to Explore Alerts
Socket's new Alert Details page is designed to surface more context, with a clearer layout, reachability dependency chains, and structured review.
Easily announce and discover .local domains over mdns
npm install dotlocal
var dotlocal = require('dotlocal')()
dotlocal.announce('test.local')
// on any machine on the local network (assuming it is multicast friendly)
dotlocal.lookup('test.local', function (err, ip) {
if (err) throw err
console.log('test.local --> ' + ip)
})
You can also find test.local using normal Unix tools, like ping
ping test.local
var announce = dotlocal.announce(domain)Announce your local ip on the specified domain.
announce will emit question everytime someone tries to resolve the domain.
Call announce.destroy to stop announcing.
var query = dotlocal.lookup(domain, [options], [callback])Do a lookup for the domain. If you specify a callback it will call that when it finds any ip resolving that domain or a timeout occurs.
If not query will emit answer with an answer object everytime an ip is discovered.
Call query.destroy to stop a query (not needed if you are providing a callback).
There is a cli available as well
npm install -g dotlocal
dotlocal announce test.local
Or to query
dotlocal lookup test.local
MIT
FAQs
Easily announce and discover .local domains over mdns
We found that dotlocal 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.

Product
Socket's new Alert Details page is designed to surface more context, with a clearer layout, reachability dependency chains, and structured review.

Product
Campaign-level threat intelligence in Socket now shows when active supply chain attacks affect your repositories and packages.

Research
Malicious PyPI package sympy-dev targets SymPy users, a Python symbolic math library with 85 million monthly downloads.