Skip to main content

MyDNS blank TXT record causes @ record to stop resolving

Comments

2 comments

  • MediaServe
    My solution (You will have to actually type as the forum won't allow me to enter/save it properly, and you'll need to replace with the hostname (without the domain) of the server per the mydns database naming convention): cd /var/named; sed -i '/TXT\"\"/d' *.db sed -i '/TXT \"\"/d' *.db mysql mydns_ delete * from rr where type = 'TXT' and data = ''; quit service mydns restart You'll have to do that on all servers, including non-DNS servers, to fix all the zones, leaving off everything from the line starting with mysql down if the server isn't running dns. Only other option would be to edit the zones by hand on their origin servers, which would be a pain. FYI I found that in the zone files, some TXT records had a TAB character between the TXT and the "", and some simply had a space, hence the need for the two sed commands.
    0
  • cPanelMichael
    Feel free to open a support ticket using the link in my signature to report this issue. You can post the ticket number here so we can update this thread with the outcome. Thank you.
    0

Please sign in to leave a comment.