Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sameersbn opened this issue Mar 15, 2018 · 2 comments

Comments

@sameersbn
Copy link
Owner

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
Copy link
Owner Author

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

@elico
Copy link

elico commented Apr 24, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants