Open bcookatpcsd opened 1 month ago
Q: What determines the order the upstream servers are queried? A: All same time except timeout
Q: Does the query go to all defined servers, and the first response back is used?
A: while query a domain first time, it depends response-mode
. and all upstream's result will write to cache if you set cache on.
Thank you..
so (by default)
response-mode is first-ping
response-mode fastest-response
Q: would be the first server to respond gets their answer into the cache?
and as long as we're talking cache-size
Q: cache-size is query count, not bytes of cache?
this would be 1
drill -Q -p 532 www.google.com @127.0.0.1
142.251.215.228
and this would be seven..
drill -Q -p 532 history.google.com @127.0.0.1
history.l.google.com.
108.177.98.100
108.177.98.138
108.177.98.139
108.177.98.113
108.177.98.102
108.177.98.101
yes?
again, thank you..
Q: would be the first server to respond gets their answer into the cache?
all upstram's answer will insert into the cache except invalid
Q: cache-size is query count, not bytes of cache?
neither. cache-size means domain count. but it limits by memory size
Alpine linux (musl), running docker
smartdns.conf:
Q: What determines the order the upstream servers are queried?
Does the query go to all defined servers, and the first response back is used?
https://pymumu.github.io/smartdns/en/configuration/
If I missed something, please let me know.
Thank you in advance.