Can't change DNS listen port #99
-
BehaviourCan't change DNS listen port Steps to reproduce this issue
Expected behaviourThe container should change its DNS listen port accordingly to the port set in the configuration. Actual behaviourThe container always uses port 5053. Configuration
Docker infoClient: Server: Logs
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You can already map port 5053 in the container to any port on the Docker host with |
Beta Was this translation helpful? Give feedback.
@bennetluedersen
You can already map port 5053 in the container to any port on the Docker host with
-p 53:5053
.See also https://docs.docker.com/config/containers/container-networking/#published-ports