TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Request json dns data for list of hostnames

1 pointsby textmodeabout 7 years ago
cat 2.k<p><pre><code> &#x2F;k3 (amateur level) &#x2F;usage: g=f k 2 where f is list of hostnames, e.g. all hostnames referenced in a page of html &#x2F;usage example: g=1.txt k 2|exec openssl s_client -tls1_2 -no_ssl2 -no_ssl3 -ign_eof -no_ticket -connect cloudflare-dns.com:443 -tlsextdebug -verify 9 &gt; 1.json a:&quot;GET &#x2F;dns-query?ct=application&#x2F;dns-json&amp;name=&quot;;b:0:_getenv &quot;g&quot;;cde:&quot;&amp;type=1 HTTP&#x2F;1.1\r\nHost: cloudflare-dns.com\r\nConnection: &quot;;f:&quot;keep-alive&quot;;g:&quot;close&quot;;h:&quot;\r\n\r\n&quot;; i:(#b)-1;`0:{,&#x2F;$(a,b[x],cde,f,h)}&#x27;!i;`0:,&#x2F;$(a,b[i],cde,g,h)</code></pre>

no comments

no comments