Problem with Beta 5.0:
I managed to get a “ghost” regex blacklist entry I can’t seem to remove through normal means. I tried adding
^(.+\.)?amp\..+\.com$ with comment “Google AMP” using the web interface, and it added this to my list:
Clicking the delete button appeared to delete the entry and showed a green success message. However, upon reloading the page the entry is still there.
I also tried removing it through the command line:
$ pihole --regex -d '()' [i] () does not exist in regex blacklist, no need to remove! $ pihole --regex -d "^(.+\.)?amp\..+\.com$" [i] ^(.+\.)?amp\..+\.com$ does not exist in regex blacklist, no need to remove!
List of regex blacklist entries (most have been redacted - 25 is the broken entry):
$ pihole --regex -l Displaying regex blacklist: 1: (^|\.)datasharing\.spotify\.com$ (enabled, last modified Fri, 31 Jan 2020 18:53:01 -0500) ... 25: (enabled, last modified Wed, 05 Feb 2020 06:46:10 -0500)
EDIT: I found that I was able to successfully remove it through the remove button in the Group Management > Domains page in the web interface, though there’s certainly still a bug here.
EDIT 2: Seems like I can add
^(.+\.)?amp\..+\.com$ with the command line:
$ pihole --regex '^(.+\.)?amp\..+\.com$' [i] Adding ^(.+\.)?amp\..+\.com$ to the regex blacklist... [✓] Reloading DNS lists
So I suppose this is probably a problem with the web interface.