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.
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.