# \[ANNOUNCE\] node-red-contrib-name2ipv4

**URL:** <https://discourse.nodered.org/t/announce-node-red-contrib-name2ipv4/28946>\
**Category:** Share Your Nodes\
**Created:** [25 June 2020 07:55 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-name2ipv4/28946 "2020-06-25T07:55:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![gotj](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gotj/32/24576_2.png) [@gotj](https://discourse.nodered.org/u/gotj)\
**Post date:** [25 June 2020 07:55 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-name2ipv4/28946/1 "2020-06-25T07:55:06Z")

</div>

Gets the IP (A-Record) of a domain name. By default uses the OS DNS unless you provide a different one in the config box.

> **[node-red-contrib-name2ipv4](https://flows.nodered.org/node/node-red-contrib-name2ipv4)**
>
> Returns the ipv4 of a domain name.

  

> **[node-red-contrib-name2ipv4](https://www.npmjs.com/package/node-red-contrib-name2ipv4)**
>
> Returns the ipv4 of a domain name.

---

<div class="post-metadata">

**Author:** ![BartButenaers](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bartbutenaers/32/10476_2.png) [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Post date:** [25 June 2020 17:55 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-name2ipv4/28946/2 "2020-06-25T17:55:27Z")

</div>

Hi @gotj,  
Thanks for sharing this node!!!  
Recently we needed (for another discussion) a way to find the TXT records of a domain.  
Would be nice if you could add that to your node, e.g. checkboxes to specify what you need (and of course by default the A-record selected).  
I see in your code that you use the [dns](http://nodejs.org/api/dns.html) module, so 'think' this can be accomplished via `dns.resolveTxt(domain, callback)`.  
Hopefully you like this idea...  
Bart

---

<div class="post-metadata">

**Author:** ![gotj](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gotj/32/24576_2.png) [@gotj](https://discourse.nodered.org/u/gotj)\
**Post date:** [25 June 2020 21:45 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-name2ipv4/28946/3 "2020-06-25T21:45:41Z")

</div>

> [@BartButenaers](#):
>
> [...]  
> Recently we needed (for another discussion) a way to find the TXT records of a domain.  
> Would be nice if you could add that to your node, e.g. checkboxes to specify what you need (and of course by default the A-record selected). [...]  
> Hopefully you like this idea...  
> Bart

There you go:

> [@\[ANNOUNCE\] node-red-contrib-dnsquery](https://discourse.nodered.org/t/announce-node-red-contrib-dnsquery/28999):
>
> Gets the DNS records of a given type of a domain name. [AAAA\_query]

You owe me one.

 ![TXTQuery](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/b/0bcae4fb863aa5a790c1c500473bdee67f58ea73.png)

Have a nice day.

---

<div class="post-metadata">

**Author:** ![BartButenaers](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bartbutenaers/32/10476_2.png) [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Post date:** [25 June 2020 22:32 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-name2ipv4/28946/4 "2020-06-25T22:32:19Z")

</div>

> [@gotj](#):
>
> You owe me one.

That is true!!!  
Because you have helped me so quickly, you will receive a vip ticket in your local post office to use one of my nodes for free during one month 🤣  
Thanks a lot! I appreciate it...

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [24 August 2020 07:55 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-name2ipv4/28946/5 "2020-08-24T07:55:27Z")

</div>

This topic was automatically closed after 60 days. New replies are no longer allowed.
