Skip to main content

DNS Add or Edit Syntax Error

Comments

3 comments

  • cPRex Jurassic Moderator
    Hey there! Is line 32 also the line with the ^@ characters? If this were my zone I would manually edit it on the command line to ensure there were no extra lines or extra characters, increment the serial number, and save the zone manually. Then you can use the following command to test the zone for errors: named-checkzone domain.com /var/named/domain.com.db
    Once that is done I would expect things to work properly and no extra code to be added. If there is still extra code being added I would check the WHM >> Edit Zone Templates page to see if any customizations have been applied there that should not exist.
    0
  • Dogus
    Hey there! Is line 32 also the line with the ^@ characters? If this were my zone I would manually edit it on the command line to ensure there were no extra lines or extra characters, increment the serial number, and save the zone manually. Then you can use the following command to test the zone for errors: named-checkzone domain.com /var/named/domain.com.db
    Once that is done I would expect things to work properly and no extra code to be added. If there is still extra code being added I would check the WHM >> Edit Zone Templates page to see if any customizations have been applied there that should not exist.

    Hello, when I try to add a record again after manually editing the wrong row, it automatically adds symbols with bullshit letters to the last line. When I look at the zone templates, everything is normal.
    0
  • cPRex Jurassic Moderator
    Interesting - that might be a good thing for us to check directly if you could submit a ticket. If you do that, could you please post the ticket number here? That would let me post the solution for everyone once this is resolved.
    0

Please sign in to leave a comment.