You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This prevents, among other things, DNS-01 ACME validation from working from behind blocky, as TXT lookups on _acme-challenge.foo.bar will never resolve.
I attempted to work around this issue by adding a conditional mapping to utilize 1.1.1.1 for _acme-challenge.foo.bar, but that seems to not work, blocky simply returns nothing, with this in the logs:
[2022-03-18 14:45:09] INFO queryLog: query resolved answer= client_ip=192.168.1.111 client_names=192.168.1.111 duration_ms=0 question=TXT (_acme-challenge.foo.bar.) response_code=NOERROR response_reason=CUSTOM DNS
The text was updated successfully, but these errors were encountered:
Ideally, I'd like for it to be possible to set other kinds of records in customDNS as well, but I can see how that might be tricky to implement.
Passing non-A/AAAA to upstream is probably a good option for now.
Maybe in the future one could set any kind of DNS record in customDNS, and anything not explicitly set there would be passed to the upstream resolvers?
I've been thinking about this: This could be a desired behaviour if blocky returns empty result for other types. This prevents the leak of internal network infrastructure information (custom DNS entries) to the external upstream resolver.
I introduced new parameter "filterUnmappedTypes". If it is set to "false" (default is true), it will forward all queries with defined custom DNS domain, but with unmapped types to the upstream DNS.
If you set a customDNS mapping for a domain
foo.bar
, any TXT record lookups on that domain fail.For example:
This prevents, among other things, DNS-01 ACME validation from working from behind blocky, as TXT lookups on
_acme-challenge.foo.bar
will never resolve.I attempted to work around this issue by adding a
conditional
mapping to utilize 1.1.1.1 for_acme-challenge.foo.bar
, but that seems to not work, blocky simply returns nothing, with this in the logs:The text was updated successfully, but these errors were encountered: