-
Notifications
You must be signed in to change notification settings - Fork 0
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
Changes to work with IPv6 #1
Comments
Hi Dougie, Great to hear that someone else is making use of my script. I am not quite clear why this change needed though? nick. |
Hi Nick, That's why I did it as an issue. My problem is that my IPv6 isn't permanent, it's done with a 6to4 tunnel by my TP-Link router. So I wanted to be certain that I was hitting an IPv6 address when I'm doing IPv6 stuff on their API (as that gives a nudge that I need to hit my router with a bigger stick when it doesn't work). One day, PlusNet will do a proper IPv6 service (like Sky) and it'll all become moot. I spent some more time hacking your script today as it didn't like my psuedo RFC1035 zone file.
Thanks for building this script (it's Google's #5 hit for "Mythic Beasts DNS V2 script"), it's saved me a bunch of pain and I've learned some more shell script. In the process I've also found jg which is a neat JSON parsing library. My domain is now fully transferred to Mythic Beasts from Ionos. I've now got a complete script to update stuff when PlusNet renew my IP address (which is getting a full scale test as we're dropping the power on Monday while my EV charger gets installed). Rgds, Dougie |
I think I need to add an option for this, as it could be useful to fetch generated and template records:
I should definitely merge this in; I don't use templates but I think putting a zone will be broken without this option:
How exciting to be getting an EV/EV charger! |
Thanks Nick, let me know when you've coded it - so I can beta test it. The reason I want fetch without templates/generated is so I can pull it down, edit it (with a sed script generated by a python program (yes, I am crazy)) to update my IPv4 & IPv6 addresses then publish it. More exciting than the charger was getting the Kia e-Nero two weeks ago, it's a brilliant car with 400Km WLTP range (although the lead time for delivery was excessive). |
I've just switched my domain to Mythic Beasts. So I've hacked your script to run with the IPv4 or IPv6 API rather than the beta endpoint. I've set a default of IPv4.
The text was updated successfully, but these errors were encountered: