mirror of
https://github.com/mageddo/dns-proxy-server.git
synced 2026-04-25 17:35:54 +03:00
[GH-ISSUE #607] Server: Option to specify which interfaces to use #201
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#201
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 (Nov 21, 2024).
Original GitHub issue: https://github.com/mageddo/dns-proxy-server/issues/607
Summary & Motivation
As requested at #544, it can be useful to bind DPS to one o more but specific network interfaces, by default DPS binds to all interfaces to make it easier to use, at the same time it can become unwanted or insecure when in more production like usecases.
Description
Create configs to decide which interfaces will be used to bind to the tcp/udp dns and web server
Where
networkBindInterfacecan be a name exen6or a mac address, ex:acde48001122,ACDE48001122,ac:de:48:00:11:22,AC:DE:48:00:11:22null, which means all interfaces will be binded (0.0.0.0)serverNetworkBindInterfacewill apply to both DNS and Web serverdnsServerNetworkBindInterfaceandwebServerNetworkBindInterfacewill override theserverNetworkBindInterfaceconfigAlternatives
Run DPS inside a docker container to prevent DPS to bind to unwanted interfaces at the host.
@ak2766 commented on GitHub (Nov 22, 2024):
DPS has matured into a versatile tool. I think it is time it was included in DNS comparison table!
@mageddo commented on GitHub (Nov 22, 2024):
See #609
@mageddo commented on GitHub (Feb 24, 2025):
Consider to have the same configuration to choose the IP instead of the interface name
@mageddo commented on GitHub (Dec 19, 2025):
Beta is out 5.6.x, use
server.hostconfig [ref], I would appreciate feedback. Thanks in advance.@ak2766 commented on GitHub (Dec 22, 2025):
Fantastic. I've seen a flurry of activity lately and was eagerly anticipating this.
I'll test soon.