AWS DevOps Engineer Professional DOP-C01 – Question479

On which local address does the Docker DNS server listen?

A.
127.0.0.1
B. 127.0.0.111
C. 127.0.0.254
D. 127.0.0.11

Correct Answer: D

Explanation:

Explanation:
Note: If you need access to a host’s localhost resolver, you must modify your DNS service on the host to listen on a non-localhost address that is reachable from within the container.
Note: The DNS server is always at 127.0.0.11.
Reference:
https://docs.docker.com/engine/userguide/networking/configure-dns/