SOLVED Multiple DNS TXT records for SPF and Google Site Verification

Jul 16, 2019
5
0
1
Australia
cPanel Access Level
Website Owner
I have a domain that I'm currently managing the DNS and Email for under cPanel (v56.0.52) but the website lives on another host altogether. I have an SPF record setup as a TXT record against the apex domain, but I also need to add a Google Site Verification code now so that I can get Google Search Console verifying correctly (their new setup recommends using DNS TEXT records for verification and consolidation of domain name with and without www.).

I tried to adding the Google Site Verification code to the end of the text record and asked Search Console to verify but it returned an error (it had time to propagate as it showed the correctly returned TXT record).

Is it even possible to setup multiple text records in this context? I've read conflicting messages saying that it's part of the DNS standards that you can have multiple TXT records, which essentially are saving on multiple lines of the record, but this isn't possible within cPanel.

Any assistance would be greatly appreciated.

Cheers
Brendan
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,304
363
Houston
The first issue here is a concern that you're running on cPanel v 11.56 which has been EOL for quite some time and is no longer supported. There have been a vast number of changes since that time. This is something that, if you don't have access to update you should discuss with your provider.

As far as TXT records, I'm not sure I understand the issue, there should be no issue with adding additional TXT records in the cPanel UI - would it be possible for you to include a screenshot so I can better understand what's being added?
 
Jul 16, 2019
5
0
1
Australia
cPanel Access Level
Website Owner
Thanks for responding Lauren, I'll be certain to raise the version with our provider...not this is a cPanel running under WHM (VPS) that we have control of too.

With regards to the issue itself, here's a screenshot of what we're attempting to do. We have the SPF record + the Google Site Verification code (XXXX's used to obfuscate).

Screen Shot 2019-07-18 at 10.27.11 am.png

When I then try and verify on Google Search Console (GWT) is says it doesn't recognise the TXT record with the correct code in it.
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,304
363
Houston
It looks like you're just adding data into the TXT data box, the SPF record and the google site verification should be separate TXT records. What's the interface you're using to add this?
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,304
363
Houston
I actually was able to find an image to create an 11.56 server so I can see the UI differences. Do you have add zone available in the simple or advanced zone editor?

adv_zone.png
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,304
363
Houston
You can have two TXT records with the same domain name in the "name" field. For example, I used a test domain and added some records in the advanced DNS zone editor within cPanel:
two_txt_records.png
 
  • Like
Reactions: Brendan Underwood
Jul 16, 2019
5
0
1
Australia
cPanel Access Level
Website Owner
Jesus H Christ, I feel like such an idiot. For some reason I thought I was seeing a validation error when attempting to add a second TXT record with the same 'Name'. No idea what I was looking at then.

Anyway, have done it now and verification has been successful. Appreciate you going through it with me Lauren, apologies for the wasting of your time.

Regards
Brendan
 
D

Deleted member 1020609

Guest
Hello @cPanelLauren
Microsoft is asking me to add a TXT record for domain verification.
My question is : does it cause any problems or conflicts if i add the txt record with the same domain name (which is the master domain?).
There is already the main txt record for the domain which has spf data in it.
You can see at the attached images the proposed added record by MS, and the type of the already present txt record from inside the Zone editor :
 

Manolos

Registered
Oct 22, 2020
1
0
1
Greece
cPanel Access Level
Root Administrator
Hey Guys , i faced this issue before some days with the TXT record and google verification TXT .if you are using DNS like cloudflare i added the record in both cpanel and DNS in the DNS menu of cloudflare...
:)
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,304
363
Houston
Hello @cPanelLauren
Microsoft is asking me to add a TXT record for domain verification.
My question is : does it cause any problems or conflicts if i add the txt record with the same domain name (which is the master domain?).
There is already the main txt record for the domain which has spf data in it.
You can see at the attached images the proposed added record by MS, and the type of the already present txt record from inside the Zone editor :
You can have multiple TXT records like this, that's fine.