mirror of
https://github.com/mageddo/dns-proxy-server.git
synced 2026-04-25 09:25:56 +03:00
[GH-ISSUE #104] Accessing from outside network via domain? #43
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#43
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 @karneaud on GitHub (Dec 11, 2018).
Original GitHub issue: https://github.com/mageddo/dns-proxy-server/issues/104
Does this services allow docker containers to be accessed outside the container network by other devices using a domain rather than host's ip/port ??
@mageddo commented on GitHub (Dec 11, 2018):
If by devices you mean others computers, smartphones, etc. then no, DPS will help you to solve containers using domain instead of ip's across containers and accross host machine and it's containers, it's not possible to access a container by it's hostname from another machine only using DPS.
To achieve this you can use nginx to centralize requests on the machine where the containers are running then install DPS on each device and register the hostnames using DPS manual entries pointing to the nginx machine
Now if you really want a distributed cluster solving containers hostnames accross machines in the cluster then I advice to take a look at docker swarm or kubernates