docker-squid icon indicating copy to clipboard operation
docker-squid copied to clipboard

Allow setting IPv4-mode (or IPv6-mode) only (Or simply allow access to /etc/default/bind9)

Open sameersbn opened this issue 7 years ago • 2 comments

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

sameersbn avatar Mar 15 '18 16:03 sameersbn

➤ 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 avatar Mar 15 '18 16:03 sameersbn

@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.

elico avatar Apr 24 '19 15:04 elico