forward-domain icon indicating copy to clipboard operation
forward-domain copied to clipboard

_ as a domain name is forbidden in my txt dns entries :/

Open sbetzin opened this issue 1 year ago • 5 comments

My domain hoster in Germany does not allow _ as a domain name in a txt entry.... Can you implement _redirect instead (or additionally) to be used as a domain name?

Thank you

sbetzin avatar Jul 17 '24 19:07 sbetzin

I have the same problem, I can't have a single _ as a TXT record. However, _redirect for example is allowed. BTW, my domain registrar charges €15 for redirection per domain. :)

watchingdogs avatar Jul 19 '24 10:07 watchingdogs

Since it's expensive to have second option name this isn't a light request.

The first thing you want to do is ask their support to add it manually. If that doesn't work, then try use alternative DNS resolver like Cloudflare.

willnode avatar Jul 19 '24 12:07 willnode

I have switched over to Cloudflare to do the redirection, but I'm sure my provider would have done it if I had asked.

watchingdogs avatar Jul 20 '24 18:07 watchingdogs

Since it's expensive to have second option name this isn't a light request.

Can you explain a bit more? What is expensive to have this second option name?

sbetzin avatar Jul 22 '24 19:07 sbetzin

Because that would be us resolving to DNS record twice instead of once.

https://github.com/willnode/forward-domain/blob/da93293f99a7f3ee21b897bf5eb7832f74cf43ff/src/util.js#L197

It can be considered if such record can handle more complex use case e.g. wildcard domains.

willnode avatar Jul 26 '24 02:07 willnode

My registrar (namecheap) doesn't allow _ as an entry in TXT records too. What can we do about it?

thiagosouza2000 avatar Aug 14 '24 01:08 thiagosouza2000

Please upvote the very top issue in this thread. 10+ votes will make me consider implementing it.

willnode avatar Aug 14 '24 02:08 willnode

Added a vote. Can't use the service with Namecheap as a result of the _ issue. Womp womp.

akaready avatar Aug 24 '24 23:08 akaready

For the record, OVH (french host) disallows _ as well. Upvoted, and thanks for the great service !

hraytilakhealthcare avatar Sep 03 '24 21:09 hraytilakhealthcare

From now on, _. prefix can be replaced with fwd. can anybody confirm it works?

willnode avatar Sep 11 '24 10:09 willnode

From now on, _. prefix can be replaced with fwd. can anybody confirm it works?

I can confirm it's working (using namecheap). Thanks!

thiagosouza2000 avatar Sep 11 '24 14:09 thiagosouza2000