mageddo / dns-proxy-server

Solve your DNS hosts from your docker containers, then from your local configuration, then from internet
http://mageddo.github.io/dns-proxy-server/
Apache License 2.0
796 stars 79 forks source link

Feature Request: Add a `dps.enabled=false` label to containers that shouldn't be resolveable by DPS #596

Open defung opened 1 week ago

defung commented 1 week ago

Summary & Motivation

There are some containers that I don't want exposed to DPS. Would be great if there's a label we can add to those containers to let DPS know to ignore them.

Some potential ideas are:

dps.enabled=false (defaults to true if doesn't exist) dps.ignore=true (defaults to false if doesn't exist) dps.disabled=true (defaults to false if doesn't exist)

Example:

docker run -l “dps.enabled=false“ nginx