I removed 9.9.9.9 and configured the IP-adress of my ihole as alternative. It is necessary for my router to have an alternative IP-adress! Then I configured the same for IPv6-adresses. In addition I disabled the WLAN-device in my pi. It has another IP-adress, which is not directed as a DNS-server.
As long as I can see today, all is working fine. And I hope it will stay fine.
Sorry, the problem is back again. Today after a coffeebreak I saw those ads again. What should I do additionally to the things I have done in my last post? Why is the behaviour changing when the Mac is left alone?