holic/redirect.name

Remove www from resolve

Closed this issue · 2 comments

Currently for correct redirecting on both www.example.org and example.org two _redirect TXT recods needed.

It will be cool to remove "www." from resolved TXT record.

To be backwards compatible two resolves can be done - if no _redirect.www.example.org record found - search for _redirect.example.org also.

holic commented

Thanks for the suggestion and sorry for the delay in replying!

Although I see the benefit here, I feel like keeping the explicit separation will lead to more predictable behavior and less unintended side effects/special cases.

Are there any downsides to multiple records, aside from having to maintain two records that are intended to always match?

+1 for explicit configuration over guessing intention