docker-squid
docker-squid copied to clipboard
Allow setting IPv4-mode (or IPv6-mode) only (Or simply allow access to /etc/default/bind9)
Note: this may not be necessary as I'm tracking an issue with either BIND or Docker, but it's part of the configuration for BIND.
The file suggested is /etc/default/bind9
➤ efficks commented:
@Joshfindit I was able to do this simply by passing the "-4" or "-6" argument to the command when starting. The image does not use file /etc/default/bind9 but simply get it's argument from the command.
@sameersbn Another option is to add into squid.conf:
dns_v4_first on
http://www.squid-cache.org/Doc/config/dns_v4_first/
It will work in a similar manner to -4 if the host has only ipv4 access and would reduce the ipv6 check/test latency since v4 is being tested first.