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

Forums Analyst II
Staff member
Nov 14, 2017
6,762
535
263
Houston
cPanel Access Level
DataCenter Provider
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

Forums Analyst II
Staff member
Nov 14, 2017
6,762
535
263
Houston
cPanel Access Level
DataCenter Provider
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

Forums Analyst II
Staff member
Nov 14, 2017
6,762
535
263
Houston
cPanel Access Level
DataCenter Provider
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

Forums Analyst II
Staff member
Nov 14, 2017
6,762
535
263
Houston
cPanel Access Level
DataCenter Provider
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
 

cPanelLauren

Forums Analyst II
Staff member
Nov 14, 2017
6,762
535
263
Houston
cPanel Access Level
DataCenter Provider
Hi @Brendan Underwood

I'm glad we got it sorted and hey, it happens to the best of us I'm just happy to have been able to help!