clempaul / dreamhost-dynamic-dns

A Dynamic DNS updater for use with the Dreamhost API
Other
91 stars 39 forks source link

list_records/IPV6 #24

Closed ileGITimo closed 1 year ago

ileGITimo commented 1 year ago

Couple of comments.

For me dns-list_records ignores type=A&editable=1 and returns all DNS records. The grep in listRecords needs to have a "\s" at the end, otherwise both IPV4 and IPV6 records are returned and it ends up printing "Found current record: IPV4 address\nIPV6 address", thus two lines (and the order could be reversed).

It would be nice to handle IPV6. I started patching it, can get most of it done, but it really needs structure changes to not end up with crazy code.