Socket
Book a DemoInstallSign in
Socket

node-red-contrib-name2ipv4

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-red-contrib-name2ipv4

Returns the ipv4 of a domain name.

1.0.8
latest
Source
npmnpm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

Gets the IP of a domain name. The IP version 4 not v6.

  • If in msg.payload there's a .domain_name:string, it overrides the domain_name setup in the config box Name.
  • If in msg.payload there's a .dns_ip:string, it overrides the DNS IP setup in the config box DNS IP.

Returns the data in msg.payload :

{
  ok: boolean,
  error: errortxt,
  dns_ip: ip,
  domain: domain,
  ip: ip
}

Uses by default the DNSs of the OS, but you can specify a different one in the config box DNS.

name2ipv4(v1.0.8)

Keywords

node-red

FAQs

Package last updated on 15 Oct 2021

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.