-
-
Notifications
You must be signed in to change notification settings - Fork 216
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
customDNS resolver should return NOERROR instead of NXDOMAIN for existing domain mapping #235
Comments
Hey, by defining The question is: why does alpine try to get the MX record for simple curl. I am not aware about alpine configuration, so I can't answer this question. Did you install blocky as alpine package (https://pkgs.alpinelinux.org/package/edge/testing/x86/blocky) ? |
Blocky is instaled in k8s from spx01/blocky:v0.14. host+curl cmd is executed from alpine image running also on k8s. When you run any command from alpine linux, it will ask for A and AAAA record. If one of them is missing, you will get error with unknown domain.
Other DNS servers (pihole, dnsmasq tested) are not returning NXDOMAIN. Please see tcpdump from previous comment. Request for I believe that blocky should do exactly the same, and not return NXDOMAIN at all. EDIT:
NXDOMAIN is returned only when domain really dosent exists (no SOA?). So if we are able to define |
Current implementation: if domain is defined in custom mapping -> return the IP, if not, ask upstream DNS. What is the behavior, if you define both IPv4 and IPv6 addresses for your custom domain? (see example: https://0xerr0r.github.io/blocky/configuration/#custom-dns) |
If you have both I was not able to find any DNS server which is returning NXDOMAIN for given record type, when other records exists for same domain name (e.g |
Yes, it makes sense. NXDOMAIN should indicate that a domain name does not exist. If only A record is defined, an AAAA query should return empty result |
When blocky is using customDNS feature, it breaks Alpine 3.13.
config:
Looks like new alpine image is very strict about NXDOMAIN.
The text was updated successfully, but these errors were encountered: