Domains spamming pihole v6.1.4 - anyway to stop this?

Please follow the below template, it will help us to help you!

If you are Experiencing issues with a Pi-hole install that has non-standard elements (e.g you are using nginx, apache2 or another reverse proxy, or there is some other aspect of your install that is customised) - please use the Community Help category.

Expected Behaviour:

Stop IoT devices from ‘phoning home’ all the time - swamping pihole query logs with ‘baidu.com’

My IoT devices don’t have a manual way of setting a DNS, so they naturally pick up pihole DNS IP’s (from DHCP) - but they’re spamming pihole because they try and contact baidu.com every minute or so. I was wondering if there is a way to stop such records from appearing in the query logs within pihole (v6.1.4)

Actual Behaviour:

Baidu.com is being contacted every minute or so by my Lubluelu robot vacuums.

Debug Token:

Replace this text with the debug token provided from running pihole -d

Expert mode / All settings / webserver.api.excludeDomain

^*\baidu\.com$

Expert mode / All settings / webserver.api.excludeClients

^10\.7\.2\.7$

^10\.7\.2\.6$

Thanks Smurf. So I guess the first regex excludes the domains from showing in the queries and the second one would exclude the entire device?

I had to tweak the regex a little, but this worked:

Thanks for your help.