Subj : help with dns.js
To : Nelgin
From : Digital Man
Date : Fri Jul 07 2023 12:14 pm
Re: help with dns.js
By: Nelgin to All on Fri Jul 07 2023 12:28 am
> This is more a Deuce or DM question but if anyone else can help, feel free.
>
> I cannot figure out how to use dns.js, basically...I would like to take an
> IP, reverse it, add a domain name and then look up against a specific server
> and get an A record or NXDOMAIN returned.
>
> For such a simple query I suppose I could use a DIY method, but it looks
> like it should be possible but I'm having problems constructing the correct
> calls.
>
> Any helps would be appreciated.
dns.js is for asynchronous/non-blocking name look-ups. If you don't need that, then use resolve_ip() instead.
--
digital man (rob)
Breaking Bad quote #50:
I've got your restraining order right here. [grabs crotch] Restrain this! - WW
Norco, CA WX: 73.3�F, 58.0% humidity, 3 mph SE wind, 0.00 inches rain/24hrs
---
� Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net