Skip to main content

Problem setting up TXT record in DNS

Comments

12 comments

  • cPanelLauren
    Hi @Jurrie Hinderyckx You can just leave it blank where it requests the @ symbol in most cases.
    0
  • CoffeeDrip
    You can just leave it blank where it requests the @ symbol in most cases.

    Hi @cPanelLauren , I have the same issue. When I use WHM to edit the DNS zone, if I leave the "Domain" field blank, it inserts "_cpanel-dcv-test-record" after I save. I can't seem to get it to save a blank, or the "@" symbol. Do you have any further advice?
    0
  • cPanelLauren
    @CoffeeDrip You can't use the @ symbol at all in that field. What record are you editing? Can you provide a screenshot?
    0
  • CoffeeDrip
    @cPanelLauren I'm trying to set up a remote mail exchange. I need to add TXT verification record, then SPF and MX records. They ask that the "@" symbol is used in the domain field, or to leave it blank "may" work. In WHM when I'm adding new lines to the DNS zone, the "@" symbol is rejected and can't be parsed. And when I leave it blank, it inserts a domain value of "_cpanel-dcv-test-record". I've looked into 3 remote mail exchange services including Microsoft and they all ask for the "@" symbol to be used in the domain name field. So, how can I accomplish this in cpanel? I already tried to manually edit the DNS record, but when I flush and reload it removes the "@" symbol. Here's a screenshot of the form I'm filling out. Thank you!
    0
  • cPanelLauren
    As I've said several times, the @ symbol won't be recognized. The thing that I don't understand which is happening to you is that the _cpanel-dcv-test-record being added and that's what I was hoping to get some insight on here. You should also be able to enter the exact domain name in the host field with a period after it. I did this on my test server and can confirm that this works without issue: # dig txt domain.tld +short "v=spf1 ip4:myipaddress include:hostingspf.domain.com include:spf.domain.tld +a +mx ~all" "MS=msXXXXXXXX"
    0
  • CoffeeDrip
    Hi @cPanelLauren If I leave the domain field blank and save a new line... it seems to take the value of the previous line and repeat it. Before save: After save:
    0
  • cPanelLauren
    That is an issue but none the less, as exampled in my last message you should still be able to use the domain name with a period at the end to enter the txt record. All the @ symbol they're requesting you add signifies in this instance is that the record is for domain.tld not a subdomain of domain.tld and as such when a provider requests it's added you'd just normally leave the field blank or enter the full domain name on cPanel/WHM I'll also inquire with our development as to why the issue you're encountering is occurring, if I open a case I'll update this thread as well.
    0
  • CoffeeDrip
    Hi @cPanelLauren Thanks for the info!
    0
  • nosajix
    So please @cPanelLauren how do we enter a text record that requires @ or an omitted value if it keeps populating with the last field on save?
    0
  • cPanelLauren
    No TXT record requires an @ symbol, it's a placeholder used to reference the domain. If the TXT record is for yourdomain.tld you would simply enter in "yourdomain.tld." (without the quotes but with the period) as I indicated in this thread if you'll read my previous responses.
    0
  • nosajix
    Thank you @cPanelLauren - You are wonderful and we appreciate your hard work! - I will be sure to read a little closer next time.
    0
  • htguru
    I believe @cPanelLauren did indeed create a solution to the problem but I wanted to post evidence that this is indeed what Microsoft Azure is asking for. Anyway the recommended workaround seems to be working but clearly cPanel and Microsoft Azure are not thinking alike.
    0

Please sign in to leave a comment.