Since I self-host quite a lot, I need some specific DNS configurations. What I noticed is that my setup works correctly when I am connected from any non-GrapheneOS device and on any non-hotspot connected device.
However, when I connect via my GrapheneOS phone or when I am connected to a hotspot, my graphene phone starts acting as a DNS resolver.
I tried both with and without the private dns setting enabled (OFF & Private DNS provider: dns.quad9.net). DNS answer when connected from my laptop on the GrapheneOS hotspot:
nslookup XXXXXXXX
Server: UnKnown
Address: 192.168.38.156
Non-authoritative answer:
Name: XXXXXXXX
Addresses: 64:ff9b::54c1:2218
YY.YY.YY.YY
DNS answer when not connected to the hotspot:
nslookup XXXXXXXX
Server: dns9.quad9.net
Address: 9.9.9.9
Non-authoritative answer:
Name: XXXXXXXX
Address: YY.YY.YY.YY
So, the address '64:ff9b::54c1:2218' is strange and causes some trouble. I'm a bit worried as to a) why my GrapheneOS phone acts as a DNS server and b) it seems to relate to a service Google provides (https://developers.google.com/speed/public-dns/docs/dns64), but I suppose the latter does not necessarily mean a thing as they simply implement https://www.rfc-editor.org/rfc/rfc8215.html .
In any case, I don't want my phone to resolve DNS requests. Is this a bug or a feature?