i can´t add or modify dns records
I'm trying to add or modify my DNS records in my zones. WHM tells me that the modification was successful, but the new record doesn't appear in the list, and it doesn't resolve the DNS when I try to ping or check if the record exists. Therefore, it's not actually modifying or adding it.
i have a dns cluster, were i add 2 dns only servers, that was the only modification i added in the last week, now i have them on standalone, to test if that was the problem, but the problem persist.
can you help me?
-
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 -
there is an error related to Permissions on error_log, that"s weird, because i am using root to make the modifications! 0 -
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 -
that"s the problem! /var/named was owned by root, i changed the ownership and now works like a charm! Thanks! 1 -
I'm glad that's all it was! 0
Please sign in to leave a comment.
Comments
5 comments