holic / redirect.name

Simple DNS-based redirection service

Home Page:http://redirect.name/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug/Feature: Allow multi string TXT records

schlomo opened this issue · 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.

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.