mirror of
https://github.com/mageddo/dns-proxy-server.git
synced 2026-04-25 17:35:54 +03:00
[GH-ISSUE #442] Enhancement: Return Host Machine IP when there is not an available IP #159
Labels
No labels
bug
confirmed
discussion
duplicate
enhancement
feature
feature-request
not-planned
pull-request
secondary-feature
stale
triage
waiting-feedback
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/dns-proxy-server-mageddo#159
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 @mageddo on GitHub (May 2, 2024).
Original GitHub issue: https://github.com/mageddo/dns-proxy-server/issues/442
What is expected
Change the feature "return host machine IP when there is not an available IP to answer" to not answer the Host Machine IP when it won't be possible to use that IP.
The feature is useful when
What is Happening
As mentioned at #429 there would be scenarios when disable that feature can be a better behavior, when:
Changes
The feature toggle as chosen as it give to client total power of decision of using or not that feature.
Create a feature toggle
A feature toggle to it turn off, turned on as default to maintain the backward compatibility.
Name:
dockerSolverHostMachineFallback### Try to identify the wanted and unwanted scenario automaticallyNot prioritized for nowIf the container it's not in network mode = host and have not published ports then it makes no sense to answer the host IP address, do return no IP instead (NXDOMAIN).