i am not sure if this has been suggested before in feature requests, but would it be possible to use a similar listing format as we use for gravity but for whitelists? or a format that would allow us to share our existing whitelist from the regex edits rather than one by one into a text file?
the reason i mention this is i run alot of lists in my pihole, but sometimes i notice that some international lists tend to block services that are essential such as banking like revolut, xbox/playstation services that sadly yes though they are telementry or ads related they are blocked by those lists but causes a pain to stay hunting it down each time, so having the whitelist in a txt file would make it easier to deploy on multiple instances and to be able to share it with others, should they wish to import it.
running the command pihole-FTL sqlite3 /etc/pihole/gravity.db "SELECT domain FROM domainlist WHERE enabled = 1 AND type = 0;" > exact_whitelist.txt would export exact whitelist to a text file. Similarly for the Regex whitelist, pihole-FTL sqlite3 /etc/pihole/gravity.db "SELECT domain FROM domainlist WHERE enabled = 1 AND type = 2;" > regex_whitelist.txt would work
The upcoming Pi-hole v6.0 supports subscribing to publicly available "allowlists" (formally known as whitelists) in the same way as it was already possible to subscribe to "denylists" (formally known as blacklists).
thanks for that update, and i have created a community white list for maltese / eu users and this is still a works in progress and can be found here... how ever i have not found the correct documentation / template for creating the white list in the correct structure.
will wildcards for sub domains be used like || domain ^ or will the urls have to be exact?