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.
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.
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 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.
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 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/'.
Why would anyone pay for an API that performs DNS queries instead of just performing a DNS query?
Alternatively, if you’re targeted at direct client use, you may want to allow them to control the edns options, like client subnet, themselves.
Sounds like a really thought out business plan.
ps: lovely graphics
[1] https://github.com/fcambus/rrda
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
Also you have a typo in the list (correct in the graphic) - 's/SVR/SRV/'.