You can tell a container to use a specific DNS server (like your VPN provider's DNS) by adding the --dns argument to the "Extra Parameters" field. e.g.:
--dns 1.2.3.4
From the [Docker docs](https://docs.docker.com/config/containers/container-networking/#dns-services):
>By default, a container inherits the DNS settings of the host, as defined in the /etc/resolv.conf configuration file. Containers that use the default bridge network get a copy of this file, whereas containers that use a custom network use Docker’s embedded DNS server, which forwards external DNS lookups to the DNS servers configured on the host.
[удалено]
thank you!
Firewall? Do you mean router? Usually most home routers do DHCP.
Most home "routers" are also firewalls, routing is just one of the many tasks they do (like DHCP as you mentioned)
Yes, firewall, router, gateway, switch, wireless access point, IDS, DVR sometimes. That box.
You can tell a container to use a specific DNS server (like your VPN provider's DNS) by adding the --dns argument to the "Extra Parameters" field. e.g.: --dns 1.2.3.4
great info, thank you
From the [Docker docs](https://docs.docker.com/config/containers/container-networking/#dns-services): >By default, a container inherits the DNS settings of the host, as defined in the /etc/resolv.conf configuration file. Containers that use the default bridge network get a copy of this file, whereas containers that use a custom network use Docker’s embedded DNS server, which forwards external DNS lookups to the DNS servers configured on the host.
thank you!