[dnsdist] dnsdist.conf: "list" example

Christoph cm at appliedprivacy.net
Sun Sep 3 11:17:42 UTC 2023


Hello!

from the documentation:

https://dnsdist.org/reference/config.html#addDOHLocal
 > urls (str-or-list) – The path part of a URL, or a list of paths

how would an addDOHLocal() example with a list of urls look like?

I have tried:

addDOHLocal("127.0.0.1",nil,nil,{"/a","/b"})

and --check-config is happy with it, but:

DoH query to: localhost/a => works
DoH query to: localhost/b => "not found" reply

so my attempt to provide a list of urls is incorrect.
What would be the correct way?

best regards,
Christoph


More information about the dnsdist mailing list