Unable to delete DNS records via Web admin

Using :

Pi-hole version is v5.8.1 (Latest: v5.8.1)
AdminLTE version is v5.10.1 (Latest: v5.10.1)
FTL version is v5.13 (Latest: v5.13)

Expected Behaviour:

To be able to delete DNS records from the Local DNS menu option.

Actual Behaviour:

Records are not deleted even though the GUI says that the record has been deleted. I have confirmed this by refreshing the page and the record still exists. I have also checked the custom.list and the record still remains. I can though add records without a problem.

Debug Token:

https://tricorder.pi-hole.net/qWIqeHxK/

The reason it fails is because your custom.list does contain upper case letters. How did you add them? Because usually the web interface converts all input to lower case. Try manually converting them to lower case letters and see if the issue persists.

But you're right, there should be no success message if the deletion failed. We need to correct this.

Thanks for your reply. You are correct, converting ALL to lower case fixed the problem. Begs the question though, why must they (client names), be in lower case?

There is though that small bug, which needs to be fixed where according to GUI interface, the record has been deleted successfully but it has not been, i.e., the record still rmains visible via GUI and still exists in the client list, where client names are in sentence type capitals.

I never tried a delete via the web interface, if the client names are fully capitalized.

Created a bug report to track the issue.

https://github.com/pi-hole/AdminLTE/issues/2094

Ok great, thanks for the support and resolution. Wonderfull product by the way.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.