holic/redirect.name

Bug/Feature: Allow multi string TXT records

Opened this issue · 1 comments

I stumbled over the fact that "Redirects to URL" must be in a single string whereas "Redirects" "to" "URL" doesn't work.

As some DNS providers create multi string TXT records it would help to support both styles.

Maybe this is also a bug/behavior of net.LookupTXT and would require using it differently or using a different resolver library.

holic commented

Oh, interesting! I haven't come across this. Are there any risks of getting the records out of order?

Happy to accept a PR + corresponding tests.