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

Option to disable IPV6 #34

Open
sameersbn opened this issue Mar 15, 2018 · 1 comment
Open

Option to disable IPV6 #34

sameersbn opened this issue Mar 15, 2018 · 1 comment

Comments

@sameersbn
Copy link
Owner

Within the container, bind seems to always assume IPv6 is enabled.
In the logs, it shows error (network unreachable) resolving 'xxx.apple.com/A/IN': 2001:500:3::42#53 when there is no IPv6 support outside the container.

As per http://crashmag.net/disable-ipv6-lookups-with-bind-on-rhel-or-centos it states that IPv6 can be disabled by add OPTIONS="-4" to /etc/sysconfig/named (on centOS)

It would be helpful to either expose the appropriate config to /data or have an environment variable that allows it to be disabled.

@sameersbn
Copy link
Owner Author

➤ cassman42 commented:

When I start the container I pass in the -4 as the last option on the command line
Don't know if its "correct" but it seems to work - YMMV...

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

1 participant