CNAME leftovers from AutoSSL by comodoca?
Hello, i was going through some records on some of my domains on my cpanel (v110.0.17) and i found out two CNAME records including webisk in the name and comodoca in the value field. :
On ANOTHER domain hosted on the server there many more similar CNAME records for a subdomain (let's call it sms.mydomain.com) and one for another subdomain (vps2.mydomain.com) . See following picture:
What are these? Are they AutoSSL validation leftovers?
Shouldn't they be removed automatically?
-
Hey there! Yes, I would have expected those to have been removed automatically, so feel free to delete them.
0 -
Hi.
I have the same issue her. About 20 CNAME records pointing to xxxxx.comodoca.com in about 500 *.db files.
Have cPanel made a script to clear this mess up?
0 -
No, there isn't a tool to clear those up at this time, but I did reach out to the team to see if they would consider making such a tool. I haven't heard back yet, but I'll be sure to post again if I do find out more.
0 -
Hi again.
This did the Clearing:
WHM --> Terminal
cd /var/named
for file in $(grep -l "comodoca.com" *.db); do
sed -i '/comodoca.com/d' "$file"
doneExplanation:
-
grep -l "comodoca.com" *.db
: Lists all.db
files containing the string "comodoca.com". -
for file in $(...); do ... done
: Loops through each file found bygrep
. -
sed -i '/comodoca.com/d' "$file"
: Deletes lines containing "comodoca.com" in each file.
Remember it's a good practice to test the
sed
command without the-i
option first to see the changes without modifying the files.WHM --> Synchronize DNS Records
Hope it can help someone :)0 -
-
If you want to update the zones you also need to increment the serial number and reload the zone before the change is valid in BIND.
0 -
Did a edit in the note ;)
1
Please sign in to leave a comment.
Comments
6 comments