[GH-ISSUE #142] Create a default network for DPS #55

Closed
opened 2026-02-26 04:33:54 +03:00 by kerem · 0 comments
Owner

Originally created by @mageddo on GitHub (Aug 11, 2019).
Original GitHub issue: https://github.com/mageddo/dns-proxy-server/issues/142

What is expected

  • DPS be able access and be accessible from all machine containers

What is Happening

  • If the container uses a specific network then DPS must be manually connected to it, then it may stop acess the host machine

Changes

  • Create the dps network at startup if it don't exists yet and dpsNetwork=true (default true)
  • Connect all existing containers on this network automacally when dpsNetworkAutoConnect=true (default true)
    • Should also connect containers on network on container start event
    • Should connect to all already running containers on DPS startup
  • Host machine IP must solve to the dps bridge subnet address when dpsNetwork=true
  • Api to disconnect all containers from specified network
  • SetupDefaultDNS must set the dps ip address when dpsNetwork=true
  • DPS must prefer to solve dps network address except when dps.network label is set
  • Re map hostnames database to understand dps ips
  • DPS must keep working on a machine that don't have docker
  • Parameterize the mentioned config variables by env variable and json configuration
  • Create usage docs
Originally created by @mageddo on GitHub (Aug 11, 2019). Original GitHub issue: https://github.com/mageddo/dns-proxy-server/issues/142 ### What is expected * DPS be able access and be accessible from all machine containers ### What is Happening * If the container uses a specific network then DPS must be manually connected to it, then it may stop acess the host machine ### Changes * [x] Create the `dps` network at startup if it don't exists yet and `dpsNetwork=true (default true)` * [x] Connect all existing containers on this network automacally when `dpsNetworkAutoConnect=true (default true)` * [x] Should also connect containers on network on **container start** event * [x] Should connect to all already running containers on DPS startup * [x] Host machine IP must solve to the `dps` bridge subnet address when `dpsNetwork=true` * [x] Api to disconnect all containers from specified network * SetupDefaultDNS must set the `dps` ip address when `dpsNetwork=true` * DPS must prefer to solve dps network address except when `dps.network` label is set * [x] Re map hostnames database to understand dps ips * [x] DPS must keep working on a machine that don't have docker * [x] Parameterize the mentioned config variables by env variable and json configuration * [x] Create usage docs
kerem 2026-02-26 04:33:54 +03:00
  • closed this issue
  • added the
    feature
    label
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#55
No description provided.