holic/redirect.name

Can't make it work with naked domain

Closed this issue · 3 comments

What I have:

@ A 45.55.72.95
_redirect TXT/SPF "Redirects permanently to https://www.mydomain.com"

but no luck :/

holic commented

What's the domain?

Hi! No lucky here too. The domain is "tecnoneuro.com.br". What's I make wrong?
Same config of bosmart.

Hi! No lucky here too. The domain is "tecnoneuro.com.br". What's I make wrong? Same config of bosmart.

Looks to me like it works:

dig tecnoneuro.com.br

; <<>> DiG 9.10.6 <<>> tecnoneuro.com.br
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 16741
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1220
;; QUESTION SECTION:
;tecnoneuro.com.br.		IN	A

;; ANSWER SECTION:
tecnoneuro.com.br.	1800	IN	A	45.55.72.95

;; Query time: 257 msec
;; SERVER: 192.168.0.1#53(192.168.0.1)
;; WHEN: Fri Jan 05 14:01:16 GMT 2024
;; MSG SIZE  rcvd: 62
dig TXT _redirect.tecnoneuro.com.br

; <<>> DiG 9.10.6 <<>> TXT _redirect.tecnoneuro.com.br
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 16674
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1220
;; QUESTION SECTION:
;_redirect.tecnoneuro.com.br.	IN	TXT

;; ANSWER SECTION:
_redirect.tecnoneuro.com.br. 1800 IN	TXT	"Redirects from /* to https://www.tecnoneuro.com.br/*"

;; Query time: 193 msec
;; SERVER: 192.168.0.1#53(192.168.0.1)
;; WHEN: Fri Jan 05 14:01:29 GMT 2024
;; MSG SIZE  rcvd: 121
curl -vv tecnoneuro.com.br/test
*   Trying 45.55.72.95:80...
* Connected to tecnoneuro.com.br (45.55.72.95) port 80 (#0)
> GET /test HTTP/1.1
> Host: tecnoneuro.com.br
> User-Agent: curl/7.87.0
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 302 Found
< Location: https://www.tecnoneuro.com.br/test
< Date: Fri, 05 Jan 2024 12:58:54 GMT
< Content-Length: 57
< Content-Type: text/html; charset=utf-8
<
<a href="https://www.tecnoneuro.com.br/test">Found</a>.

* Connection #0 to host tecnoneuro.com.br left intact

(Note that redirect.name doesn't support https)