Re: REST API for recursive queries

2021-05-05 Thread Tony Finch
Roee Mayerowicz wrote: > I have ~700k (and growing) domain names that should be resolved daily. > I'm trying to make it efficient as possible using the recursive BIND > server (do you know a better option?), the goal is to get 2000 queries > per second with minimum server\s cost. I do bulk looku

Re: REST API for recursive queries

2021-05-05 Thread Roee Mayerowicz
I have ~700k (and growing) domain names that should be resolved daily. I'm trying to make it efficient as possible using the recursive BIND server (do you know a better option?), the goal is to get 2000 queries per second with minimum server\s cost. I thought using a single packet for multiple q

Re: REST API for recursive queries

2021-05-04 Thread Tony Finch
Petr Menšík wrote: > Because BIND uses DNS protocol only and not any dbus or former lwres > protocol, you can count only querying -t ANY for single name as > something similar. ANY queries don't necessarily give you all the records :-) In situations where a DNS client wants to do multiple queri

Re: REST API for recursive queries

2021-05-04 Thread Petr Menšík
systemd-resolved has private api, which attempts to do multiple DNS queries for one originating query. But it is not accepted to do that using DNS protocol, it uses d-bus calls I think. Because BIND uses DNS protocol only and not any dbus or former lwres protocol, you can count only querying -t ANY

Re: REST API for recursive queries

2021-05-04 Thread Fred Morris
You don't say /why/ you want to do this. This forwarder only does a single request per TCP connection and also supports TLS: https://github.com/m3047/tcp_only_forwarder/blob/master/forwarder.py If you want to run DoT, I'm pretty sure that's on the BIND roadmap. The BIND distro has provided i

Re: REST API for recursive queries

2021-05-04 Thread tale via bind-users
On Tue, May 4, 2021 at 8:42 AM Roee Mayerowicz wrote: > Do you know of a way to ask multiple DNS queries in a recursive bind server > at the same packet\request? > Using DoH might work? How? Is there a plugin which does that? The short answer is no, but it might not be answering the question you