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

**URL:** https://discourse.nodered.org/t/announce-node-red-contrib-dnsquery/28999
**Category:** Share Your Nodes
**Created:** [25 June 2020 21:44 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-dnsquery/28999 "2020-06-25T21:44:17Z")
**Posts on this page:** 13
**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 21:44 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-dnsquery/28999/1 "2020-06-25T21:44:17Z")

</div>

Gets the DNS records of a given type of a domain name.

> **[node-red-contrib-dnsquery](https://flows.nodered.org/node/node-red-contrib-dnsquery)**
>
> Gets the DNS records of a given type of a domain name.

 ![dnsquery](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/8/c8d7158b9a2c99bffb27cb57d91014ae69e26994.png)  
 ![AAAA_query](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/5/85fdaa8f220c338125fd7ce4fe18e4026ff8a4e5.png)  
 ![TXTQuery](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/b/0bcae4fb863aa5a790c1c500473bdee67f58ea73.png)

---

<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:36 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-dnsquery/28999/2 "2020-06-25T22:36:02Z")

</div>

@Paul-Reed we can use this in the near future to troubleshoot your cloudflare issue with Letsencrypt.

@gotj: Perhaps add those screenshots to your readme page, and perhaps a link to a page with the possible record types (incl. ANY). Thanks again for your assitance!

---

<div class="post-metadata">

### Author: ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)
#### Post date: [25 June 2020 22:44 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-dnsquery/28999/3 "2020-06-25T22:44:31Z")

</div>

> [@BartButenaers](#):
>
> we can use this in the near future to troubleshoot your cloudflare issue with Letsencrypt

I'm not so sure, as the TXT record is only put in place for the period of verification, then deleted, so timing may be an obstacle.

---

<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:48 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-dnsquery/28999/4 "2020-06-25T22:48:24Z")

</div>

That is true, but thanks to @gotj we now have a way to automatically start scanning for TXT records during a time period. Will be a luxury not having to refresh a dnslookup webpage over and over again. We will see how it goes, but this node will be a very good aid for such kind of use cases anyway. It is now nicely integrated into our flow...

---

<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: [26 June 2020 08:31 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-dnsquery/28999/5 "2020-06-26T08:31:44Z")

</div>

> [@BartButenaers](#):
>
> @gotj: Perhaps add those screenshots to your readme page, and perhaps a link to a page with the possible record types (incl. ANY). Thanks again for your assitance!

[Pull requests · xk/node-red-contrib-DNSQuery · GitHub](https://github.com/xk/node-red-contrib-DNSQuery/pulls) ? ... 🙂

---

<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: [26 June 2020 11:32 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-dnsquery/28999/6 "2020-06-26T11:32:05Z")

</div>

> [@BartButenaers](#):
>
> That is true, but thanks to @gotj we now have a way to automatically start scanning for TXT records during a time period. Will be a luxury not having to refresh a dnslookup webpage over and over again. We will see how it goes, but this node will be a very good aid for such kind of use cases anyway. It is now nicely integrated into our flow...

If you're on a Mac, to flush the DNS caches run `sudo killall -HUP mDNSResponder` or you won't see a thing...

The Linux(es) don't seem to cache sooo aggressively.

---

<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: [26 June 2020 11:44 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-dnsquery/28999/7 "2020-06-26T11:44:27Z")

</div>

> [@gotj](#):
>
> [https://github.com/xk/node-red-contrib-DNSQuery/pulls](https://github.com/xk/node-red-contrib-DNSQuery/pulls) ?

Consider it done ...

---

<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: [26 June 2020 14:37 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-dnsquery/28999/8 "2020-06-26T14:37:31Z")

</div>

Merged, thank you very much.

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [26 June 2020 14:52 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-dnsquery/28999/9 "2020-06-26T14:52:51Z")

</div>

Hi @gotj. I had a quick look at this node and if you are interested, I'd like to suggest you employ [`typedInput`](https://nodered.org/docs/api/ui/typedInput/) widgets in place of the regular inputs and the message stating "Overridden by blah.blah.blah...".

The typedInput widget negates the need for a user to prepare change nodes or function nodes in order to move something into `msg.payload.domain_name` and `msg.payload.record_type`

Either way, good stuff at a breakneck turnaround.

---

<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: [26 June 2020 18:45 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-dnsquery/28999/10 "2020-06-26T18:45:50Z")

</div>

Thanks, I'll investigate, but note that I'm a total newbie and didn't even know node-red existed until a week ago. Also, "pull requests are welcomed and encouraged" ... 🙂

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [27 June 2020 18:33 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-dnsquery/28999/11 "2020-06-27T18:33:04Z")

</div>

> [@gotj](#):
>
> Also, "pull requests are welcomed and encouraged"

I suppose thats only fair 🙂

So I added the typed inputs and updated the built in documentation to be a bit more node-red standard...

> [@gotj](#):
>
> but note that I'm a total newbie

That ok - everyone starts somewhere - so if you look over what I did for the inputs (typedInputs) and the help info (dl/dt tags) - you will pick up a couple of common the node-red designs

A demo...

 ![S9VPMYpERl](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/7/b79f84a076453edf05084d43305b9999ae47b104.gif)

Will generate a PR soon.

---

<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: [28 June 2020 08:58 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-dnsquery/28999/13 "2020-06-28T08:58:44Z")

</div>

Cojonudo! Merged. Thank you very much.

---

<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 21:44 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-dnsquery/28999/14 "2020-08-24T21:44:23Z")

</div>

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