mirror of
https://github.com/mageddo/dns-proxy-server.git
synced 2026-04-25 17:35:54 +03:00
[GH-ISSUE #121] No way to specify upstream/remote DNS server port #49
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#49
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 @ammmze on GitHub (Apr 18, 2019).
Original GitHub issue: https://github.com/mageddo/dns-proxy-server/issues/121
I'd like to include the Consul DNS server as one of the remote name servers, but it looks like it only accepts the IP address as an array of numbers. Ideally we should be able to include the port in the remote dns server settings. Honestly I'd prefer to be able to just configure it as
"remoteDnsServers": ["172.16.33.33:8600"], which means you'd need to parse the port out because it looks like the parameters you pass into your function to add the host is the ip address and then the port as a separate parameter.@mageddo commented on GitHub (Apr 18, 2019):
I agree we would migrate the remoteDnsServers variable to an string instead of array of ints.
Is Your current problem that you can't specify the port or the remote server as a array is not suitable to you?
@ammmze commented on GitHub (Apr 19, 2019):
My current hold up is not being able specify the port. Migration to a string would just be a nice to have
@mageddo commented on GitHub (Apr 22, 2019):
What is expected
💡 A way to specify the remote servers port
53have to be assumedcurrent contract
proposed contract
💡 Change hostname ip contract
Contract today is array of bytes, as discussed before use a string instead of the array may be more clear to read and meaningful when the port have to be specified, as the remote server will change to the string format it makes sense to change that field also
@mageddo commented on GitHub (May 5, 2019):
DPS was released and the docs updated, see http://mageddo.github.io/dns-proxy-server/2.14/en/3-configuration/
@mageddo commented on GitHub (May 5, 2019):
@ammmze thanks for your contribution, feel Free to make any report when you need
@ammmze commented on GitHub (May 9, 2019):
Awesome! I'm glad to see you also switched the other instances of IP addresses to strings 🙂 thanks a bunch