mirror of
https://github.com/mageddo/dns-proxy-server.git
synced 2026-04-25 09:25:56 +03:00
[GH-ISSUE #206] Access from Another System #83
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#83
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 @jasi110 on GitHub (Jul 31, 2020).
Original GitHub issue: https://github.com/mageddo/dns-proxy-server/issues/206
I have a docker-compose.yml of SolrCloud - three zookeeper containers, and three solr containers. CloudSolrClient allows a connection using the zookeeper hosts and ports, and that is what I am looking to do with DPS. I have DPS running with register container names and I can nslookup and ping the zookeeper containers: zoo1.docker, zoo2.docker, and zoo3.docker. All of this is great. Now, the product that calls into the SolrCloud is on another host. From that host, I try to issue "ping zoo1.docker" and that fails with a host not found.
Is there a way to make zoo1.docker available to other systems on the host network?
Thank you for any assistance.
@polarathene commented on GitHub (Aug 22, 2020):
You need to make sure the other host is using the same local DNS that the other machine is providing. Without that, it cannot resolve the
zoo1.dockerto an IP.@mageddo commented on GitHub (Mar 4, 2023):
Giving more details, about @polarathene answer, I will consider
as Machine 1
As Machine 2
In your cause you can have two different solutions:
1 - Configure Machine 2 to use Machine 1 IP as the DNS Server as DPS is running on that.
2 - Also runs DPS on Machine and configure local entries to point
zoo1.dockerto Machine 1 IPIn both case you will need to publish the containers ports.
Or 3, a better solution would be to use docker swarm or kubernetes manage the machine cluster to you.
Closing the issue, if you have any doubt please re-open it.