[GH-ISSUE #104] Accessing from outside network via domain? #43

Closed
opened 2026-02-26 04:33:52 +03:00 by kerem · 1 comment
Owner

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 ??

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 ??
kerem 2026-02-26 04:33:52 +03:00
Author
Owner

@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

<!-- gh-comment-id:446214894 --> @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
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/dns-proxy-server-mageddo#43
No description provided.