Gitlab.com pages domain verification

Hello,

I been trying to add my domain jlozadad.io and I went to namecheap and added the CNAME and txt records. I can’t still verify it. I followed the instructions in here https://gitlab.com/help/user/project/pages/custom_domains_ssl_tls_certification/index.md#3-set-up-dns-records-for-pages Is there anything else I can check?

Hi,

it seems that your DNS zone settings are not active yet.

$ dig jlozadad.io any

; <<>> DiG 9.10.6 <<>> jlozadad.io any
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 18504
;; flags: qr rd ra; QUERY: 1, ANSWER: 9, AUTHORITY: 0, ADDITIONAL: 10

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4000
;; QUESTION SECTION:
;jlozadad.io.			IN	ANY

;; ANSWER SECTION:
jlozadad.io.		1675	IN	NS	dns1.registrar-servers.com.
jlozadad.io.		1675	IN	NS	dns2.registrar-servers.com.
jlozadad.io.		3476	IN	SOA	dns1.registrar-servers.com. hostmaster.registrar-servers.com. 1578945553 3600 1801 604800 3601
jlozadad.io.		1675	IN	MX	15 eforward4.registrar-servers.com.
jlozadad.io.		1675	IN	MX	10 eforward1.registrar-servers.com.
jlozadad.io.		1675	IN	MX	20 eforward5.registrar-servers.com.
jlozadad.io.		1675	IN	MX	10 eforward3.registrar-servers.com.
jlozadad.io.		1675	IN	MX	10 eforward2.registrar-servers.com.
jlozadad.io.		1675	IN	TXT	"v=spf1 include:spf.efwd.registrar-servers.com ~all"

The zone as a TTL of 3600s, but the nameservers themselves also don’t reply with the correct records. So it isn’t a resolver caching problem.

$ dig jlozadad.io any @dns2.registrar-servers.com

; <<>> DiG 9.10.6 <<>> jlozadad.io any @dns2.registrar-servers.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 53147
;; flags: qr aa rd; QUERY: 1, ANSWER: 9, AUTHORITY: 0, ADDITIONAL: 1
;; WARNING: recursion requested but not available

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;jlozadad.io.			IN	ANY

;; ANSWER SECTION:
jlozadad.io.		3601	IN	SOA	dns1.registrar-servers.com. hostmaster.registrar-servers.com. 1578945553 3600 1801 604800 3601
jlozadad.io.		1800	IN	NS	dns1.registrar-servers.com.
jlozadad.io.		1800	IN	NS	dns2.registrar-servers.com.
jlozadad.io.		1800	IN	MX	10 eforward1.registrar-servers.com.
jlozadad.io.		1800	IN	MX	10 eforward2.registrar-servers.com.
jlozadad.io.		1800	IN	MX	10 eforward3.registrar-servers.com.
jlozadad.io.		1800	IN	MX	15 eforward4.registrar-servers.com.
jlozadad.io.		1800	IN	MX	20 eforward5.registrar-servers.com.
jlozadad.io.		1800	IN	TXT	"v=spf1 include:spf.efwd.registrar-servers.com ~all"

;; Query time: 8 msec
;; SERVER: 156.154.133.200#53(156.154.133.200)
;; WHEN: Tue Jan 14 09:59:04 CET 2020
;; MSG SIZE  rcvd: 339

Can you double check your DNS settings and provide a screenshot of them?
Maybe your DNS provider only reloads zone entries every 24h.

Cheers,
Michael

thanks for the information! here is some screenshots

I’m using namecheap

I’d ask namecheap support why your DNS entries are not live yet.

Cheers,
Michael

so I went to namecheap and they fixed the records since I was using the domain name instead of @. But, when I go back to the gitlab page to verify the domain, it still fails. I tried to go to jlozadad.io and get a page from gitlab You don't have permission to access the resource. so we are close to it .

Hi,

the CNAME record is there, the TXT record including the verification code is missing in your zone.

;; ANSWER SECTION:
jlozadad.io.		1776	IN	CNAME	jlozada2426.gitlab.io.
jlozada2426.gitlab.io.	300	IN	A	35.185.44.232

Cheers,
Michael

hello,

got it now. Turns out I had more typos >…< works now. Thank you for the help!