Home » Amazon » AWS DevOps Engineer Professional v.2 » On which local address does the Docker DNS server listen?
On which local address does the Docker DNS server listen?
A. 127.0.0.1
127.0.0.111
B. 127.0.0.254
C. 127.0.0.11
Correct Answer: C
Explanation/Reference:
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 nonlocalhost 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/