Feature request :resolve (updated)

I have caching dns configured however I would like to make :resolve use another dns server. Is there a way to do it?

thanks!

AFAIK :resolve uses dns servers that are set in /ip dns configuration and not the cached results.

there is no way to set something other but servers used in /ip dns

unless you want to make a script that changes the DNS servers to something else, does resolve, and then changes them back, and then call that script instead of the :resolve :slight_smile:

I thought about doing so, however, caching dns will use the same dns server, while :resolve script is running, for client queries which is not what I want.

What source IP :resolve would use to query the DNS? If IP was unique (different than caching DNS) I could redirect the request to my DNS…

Just tested it and every time :resolve runs, DNS cache gets new entries. So it seems that :resolve uses DNS cache exclusively.

it uses servers that are configured, but results are cached, these are 2 different actions.
it uses server to resolve, and then it caches the result, in case, someone else wants to resolve the same.