The EU is planning to develop its own government-run DNS resolver that can also be used to block unlawful websites.
When your devices use Quad9 normally, no data containing your IP address is ever logged in any Quad9 system. Connections can employ encryption if your system supports it, and the entire Quad9 platform has been designed to be GDPR-compliant