[dnsdist] dnsdist.conf: "list" example

刘怡琨 2793983354 at qq.com
Sun Sep 3 12:02:48 UTC 2023


WHAT


---原始邮件---


发件人:Christoph via dnsdist"


发送时间:"undefined"


收件人:"dnsdist"


主题:[dnsdist] dnsdist.conf: "list" example

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
_______________________________________________
dnsdist mailing list
dnsdist at mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/dnsdist
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/dnsdist/attachments/20230903/34f4605a/attachment.htm>


More information about the dnsdist mailing list