-
-
Notifications
You must be signed in to change notification settings - Fork 80
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
HOSTNAMES Env dont work if kernel option ipv6.disable=1 #478
Comments
@sh3bang does you have a minimal example Of How to create a Linux env with that kernel option? |
i am wondering how this answer can happen:
NXDOMAIN should be No Answer because domain is existing, but Zone have no AAAA record DPS is obviously mixing none existing DNS Zones on remote DNS with existing Zones on local/DPS Server by querying always the upstream DNS first. Correct DNS answer (just ask for A):
Also correct (A existing, but no AAAA):
DPS config.json
docker-compose.yml
if you are disable IPv6 completely nothing work as expected ;) |
So the behavior below is the one you understand as the unexpected behavior?
|
I didn't get if "if you are disable IPv6 completely nothing work as expected ;)" suggests another unexpected behavior which wasn't explained, in this case can you describe what happens in this scenario? |
That's the expected behavior because NSLOOKUP query for both A and AAAA records at the same execution This result says "I found answer for A but didn't for the AAAA"
This another one says "I found no answer at all"
|
The A and AAAA are two different queries made to DPS from the nslookup client, so yes, DPS can solve A record from docker,local db and solve AAAA from the remote solver. Actually I understand that as OK. The hostname entry existence at the docker solver is not enough criterium to make DPS stop the resolution and don't forward the query to the remote solver. Maybe this current criterium can be questionable, maybe if the hostname entry exists at the docker solver and even if no IP exists DPS should stop the resolution and answer NXDOMAIN |
This issue is stale because it has been waiting-feedback for 15 days with no activity. |
This issue was closed because it has been inactive for 7 days since being marked as stale, you can reopen it at any time. |
I am requesting that this be re-opened, as currently the resolver doesn't meet DNS standards. The logic should be:
Here are the relevant RFC standards:
Here are some other sources that indicate that this is incorrect and problematic behaviour (because of NXDOMAIN response cacheing): |
Thanks for the evidences, it makes sense for me, creating #611 to treat this behavior. |
http://mageddo.github.io/dns-proxy-server/latest/en/2-features/docker-solving/#hostnames-env
Note: noRemoteServers = false
The text was updated successfully, but these errors were encountered: