node-red-contrib-name2ipv4

1.0.8 • Public • Published

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)

Readme

Keywords

Package Sidebar

Install

npm i node-red-contrib-name2ipv4

Weekly Downloads

1

Version

1.0.8

License

ISC

Unpacked Size

4.28 kB

Total Files

5

Last publish

Collaborators

  • jorgechamorro