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

make sure to add ipv4 of host before ipv6 #114

Open
wants to merge 3 commits into
base: 1.5.3-maintenance
Choose a base branch
from

Conversation

alecs
Copy link

@alecs alecs commented Feb 28, 2024

Issue:

On a node that has a dual stack connection, with ipv6 being the first, and with defined v4 slaves, you end up having v4 ns1 and ns2 as slaves and a v6 ns1 that points to the i-MSCP node.

Intended fix:
Get the v4 IP from BASE_SERVER_PUBLIC_IP if the main DOMAIN_IP is v6 and then add the v6 ip immediately after the v4 one.

This should provide us with a final dns alike:

ns1 IN A 1.2.3.4
ns2 IN A 1.2.3.5
ns1 IN AAAA aa:ee:...

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