Skip to content

feat(dyn-gandi): Handle TXT records#37

Open
keir0 wants to merge 1 commit intoDanamir:masterfrom
keir0:update-txt-records
Open

feat(dyn-gandi): Handle TXT records#37
keir0 wants to merge 1 commit intoDanamir:masterfrom
keir0:update-txt-records

Conversation

@keir0
Copy link

@keir0 keir0 commented Apr 10, 2025

Hey,

I had this idea to try and fix issue #18.
This is my first contribution on a public repo so I'm open to anything you'd have to say !

I tested the code and it works great but I'm kind of worried of how it would react if the "main record" used to get the "dns_ip" variable is not of type "A" (Although I can't think of a use case were you would want to update a TXT record without changing another A record).
A solution could be to make sure "config['dns']['records']" isn't empty ?

Let me know what you think :)

@Danamir
Copy link
Owner

Danamir commented Apr 11, 2025

This seems nice, thanks !

I would rather give it a try on my system before merging, but currently my ISP is down and should only be back up in more than a month (it's been two month already). 😓

Don't hesitate to ping me mid-may if you see the merge still open by then.

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