mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 11:15:54 +03:00
[GH-ISSUE #1965] Resolution fails for a subdomain but not for the root domain #830
Labels
No labels
blocked
breaking-change
bug
bug:critical
bug:tests
cleanup
compliance
compliance
compliance
crate:all
crate:client
crate:native-tls
crate:proto
crate:recursor
crate:resolver
crate:resolver
crate:rustls
crate:server
crate:util
dependencies
docs
duplicate
easy
easy
enhance
enhance
enhance
feature:dns-over-https
feature:dns-over-quic
feature:dns-over-tls
feature:dnsssec
feature:global_lb
feature:mdns
feature:tsig
features:edns
has workaround
ops
perf
platform:WASM
platform:android
platform:fuchsia
platform:linux
platform:macos
platform:windows
pull-request
question
test
tools
tools
trust
unclear
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hickory-dns#830
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @thosmos on GitHub (Jun 9, 2023).
Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/1965
We're attempting to use trust-dns as a local DNS server for an IPv4 NAT network of about 150 OpenWRT routers to reduce the impact on public DNS servers. So far it's working for the most part, but it's failing on some subdomains like
downloads.openwrt.orgthat work when querying via other DNS servers. I'm wondering if this is a bug or a configuration problem.172.168.0.254is the internal gateway IP where trust-dns is running.@bluejekyll commented on GitHub (Jun 9, 2023):
Have you enabled debug logging on the
trust-dnsserver? Do those show any indication on why it might not be getting a proper response?The
resolvecommand is essentially the same logic as what the server is using with theForwarderconfiguration. Are you using that setting or theRecursor(recursive resolution isn't well tested and considered experimental right now)?@thosmos commented on GitHub (Jun 12, 2023):
Well this is strange, the debug logs show some resolutions happening, but not the ones I'm attempting, whether they fail or succeed. Yes the config is set to the
recursorsetting. I tried changing it toforwardbut got an error about missing aname_serversfield. Where are the docs for these config options?@bluejekyll commented on GitHub (Jun 12, 2023):
oh, it's good to hear that the
recursorkinda works. I'll use your example to try and workout what's going on with that.For the forwarding option, we don't have a lot of docs, apologies, here's the best example that I have:
github.com/bluejekyll/trust-dns@a614257fb0/tests/test-data/test_configs/example_forwarder.toml@thosmos commented on GitHub (Jun 13, 2023):
That worked and we're now getting reliable resolutions from downstream routers. Thanks for your work on this!