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

Update create_dns_host.md - Allow multiple ipv4 addresses #242

Merged
merged 1 commit into from
Dec 14, 2023

Conversation

luisbandalap
Copy link
Contributor

@luisbandalap luisbandalap commented Dec 14, 2023

A change in dns script to print a line with node name and node id for every ipv4 assigned to a node

For example, if we have a network with this configuration:

node-1 -> ips: 203.0.113.97, 100.80.205.233, 10.65.0.1
node-2 -> ips: 203.0.113.157, 100.80.247.32, 10.65.0.1

current script prints:

127.0.0.1 localhost
203.0.113.97 node-1.zerotier.network 6dc55d88fb.zerotier.network
203.0.113.157 node-2.zerotier.network fd6906b901.zerotier.network

with my proposed change we would get:

127.0.0.1 localhost
203.0.113.97 node-1.zerotier.network 6dc55d88fb.zerotier.network
100.80.205.233 node-1.zerotier.network 6dc55d88fb.zerotier.network
100.65.0.1 node-1.zerotier.network 6dc55d88fb.zerotier.network
203.0.113.157 node-2.zerotier.network fd6906b901.zerotier.network
100.80.247.32 node-2.zerotier.network fd6906b901.zerotier.network
100.65.0.2 node-2.zerotier.network fd6906b901.zerotier.network

A change in dns script to print a line with node name and node id for every ipv4 assigned to a node
@sinamics
Copy link
Owner

Thanks, works perfectly.

@sinamics sinamics merged commit 40f8aff into sinamics:main Dec 14, 2023
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants