Skip to main content

i can´t add or modify dns records

Comments

5 comments

  • cPRex Jurassic Moderator
    Hey there! If you just search for "test" instead of the full domain and subdomain, does that show the record in the zone? If not, I'd try watching the cPanel error log (/usr/local/cpanel/logs/error_log) while adding the DNS zone to see if there are any errors reported that aren't showing up in the interface for some reason. You can also manually check the zone file in /var/named/domain.com.db and see if the record is being added there.
    0
  • edelgado
    there is an error related to Permissions on error_log, that"s weird, because i am using root to make the modifications!
    0
  • cPRex Jurassic Moderator
    Well, it's at least a clue! What are the permissions on that file? All DNS zones should be 600 with named:named ownership. /var/named/ itself has a sticky bit, and looks like this: drwxrwx--T. 8 root named 4.0K Oct 12 08:12 named I'm guessing you'll find one of those things doesn't have the proper permissions or ownership, leading to the error.
    0
  • edelgado
    that"s the problem! /var/named was owned by root, i changed the ownership and now works like a charm! Thanks!
    1
  • cPRex Jurassic Moderator
    I'm glad that's all it was!
    0

Please sign in to leave a comment.