News for hackers. Stuff that matters.
Re:DNS Record Types by teddyh on Friday October 01, 2021 @09:11AM (#28717982)
Re:DNS Record Types by maltalex on Friday October 01, 2021 @03:02AM (#28715505)
Nice page, but a strange product.

Why would anyone pay for an API that performs DNS queries instead of just performing a DNS query?

Re:DNS Record Types by pul on Friday October 01, 2021 @03:07AM (#28715528)
Ruurtjan from nslookup.io here. No one is really using the API it yet. Some competitors seem to be doing well, so I guess there's a demand. Maybe because it's simpler to integrate over HTTP than over DNS in terms of network config for enterprises? Not sure.
Re:DNS Record Types by donavanm on Friday October 01, 2021 @04:47AM (#28716086)
I haven’t looked at your API but a subtly critical aspect of diagnostics or introspection is being able to query from multiple client locations/resolvers. It’s really important to be able to disambiguate the “view” different clients have of the same labels.

Alternatively, if you’re targeted at direct client use, you may want to allow them to control the edns options, like client subnet, themselves.

Re:DNS Record Types by backoncemore on Saturday October 02, 2021 @10:08AM (#28728672)
> Some competitors seem to be doing well, so I guess there's a demand.

Sounds like a really thought out business plan.

Re:DNS Record Types by maltalex on Friday October 01, 2021 @03:35AM (#28715691)
I don’t see why it’s simpler, though there’s an argument to be made for HTTP being more familiar.
Re:DNS Record Types by oaiey on Friday October 01, 2021 @03:59AM (#28715824)
Well... are you / competitors just proxying or is there DoH elements sparkled in?

ps: lovely graphics

Re:DNS Record Types by pul on Friday October 01, 2021 @04:44AM (#28716069)
It's just a glorified Dig wrapper ;)
Re:DNS Record Types by haroldp on Friday October 01, 2021 @01:11PM (#28721041)
I run an install of RRDA[1] because it's easier to use http/json in scripts than parsing raw DNS queries.

[1] https://github.com/fcambus/rrda

Re:DNS Record Types by vbezhenar on Friday October 01, 2021 @04:00AM (#28715831)
You can't make DNS query from browser JavaScript AFAIK.
Re:DNS Record Types by cookiengineer on Friday October 01, 2021 @05:55AM (#28716465)
> You can't make DNS query from browser JavaScript AFAIK.

Yes, you can. [1] Lots of public DNS resolvers have support for it, too. [2]

Example:

fetch('https://cloudflare-dns.com/dns-query?name=example.com&type=A...', { method: 'GET', headers: new Headers({ 'accept': 'application/dns-json' })});

Note that this is the JSON-specific format [3]. DNS over HTTPS itself uses the DNS wireformat [4], so you would have to build a parser for that if you want to integrate it into a web app.

[1] https://developers.google.com/speed/public-dns/docs/doh/json

[2] https://developers.cloudflare.com/1.1.1.1/encrypted-dns/dns-...

[3] https://www.rfc-editor.org/rfc/rfc8427

[4] https://datatracker.ietf.org/doc/html/rfc8484

Re:DNS Record Types by capableweb on Friday October 01, 2021 @07:10AM (#28716889)
That's a HTTP request no matter what data is being returned. Fact still stands that there is no JS API in browsers to make proper DNS requests (without HTTP).
Re:DNS Record Types by kube-system on Friday October 01, 2021 @08:54AM (#28717822)
Some might argue that DoH is proper DNS. Port 53 DNS sucks.
Re:DNS Record Types by LinuxBender on Friday October 01, 2021 @11:24AM (#28719676)
DoH in its current implementation is just a tunnel using https to reach someone elses centralized servers that are using port 53 DNS. The root servers do not yet support DoH/DoT and I would be pleasantly surprised if they ever did.
Re:DNS Record Types by kube-system on Friday October 01, 2021 @01:12PM (#28721051)
Most of us are on the other end of the DNS hierarchy, and send queries to recursive resolvers, not root servers. Root server operators are conservative and there's much less of privacy consideration when traffic is mixed with others at a resolver.
Re:DNS Record Types by Mup_TIpekpaceH on Friday October 01, 2021 @04:29AM (#28715978)
ahha
Re:DNS Record Types by brightball on Friday October 01, 2021 @10:21AM (#28718780)
Maybe rate limiting?
Re:DNS Record Types by egoisticalgoat on Friday October 01, 2021 @07:18AM (#28716966)
I always thought ALIAS records were an actual record type, but it seems like they are non-standard additions by all the registrars that support it. Interesting.
Re:DNS Record Types by bluejekyll on Saturday October 02, 2021 @12:29AM (#28725965)
ANAME is a really nice alternative that improves on the ALIAS concept: https://datatracker.ietf.org/doc/html/draft-ietf-dnsop-aname...
Re:DNS Record Types by a012 on Friday October 01, 2021 @10:53AM (#28719206)
I only know about ALIAS because AWS where you can create ALIAS records on AWS managed services only.
Re:DNS Record Types by bartkappenburg on Friday October 01, 2021 @11:08AM (#28719456)
Offtopic, but the number of visitors on this site are publicly available: https://plausible.io/nslookup.io?period=day
Re:DNS Record Types by pul on Friday October 01, 2021 @11:21AM (#28719630)
Jep, but I’ve started proxying the statistics JavaScript to circumvent ad blockers. So the historic stats are a bit lower than today’s.
Re:DNS Record Types by ainar-g on Friday October 01, 2021 @06:06AM (#28716511)
It's a pretty nice infographic! If that company ever thinks of making merch, I think a non-zero amount of people would buy a T-shirt with it, heh.
Re:DNS Record Types by pul on Friday October 01, 2021 @06:08AM (#28716522)
There's no company, it's just me :) I'll probably make a printable cheatsheet at some point, but I'm not yet sure what else to put on there.
Re:DNS Record Types by OJFord on Friday October 01, 2021 @07:22AM (#28716988)
It'd be nice if there were a bit more info on the different types (I tried clicking one of interest) - even just a link to the relevant RFC (section) would be cool.

Also you have a typo in the list (correct in the graphic) - 's/SVR/SRV/'.

Re:DNS Record Types by pul on Friday October 01, 2021 @07:30AM (#28717070)
Thanks! Fixed once CI is done building and deploying :)
Re:DNS Record Types by Croftengea on Friday October 01, 2021 @09:51AM (#28718417)
Nice diagram, but DLV can be safely removed as it's officially obsolete: https://www.iana.org/go/rfc8749