I would like to access my services using the domain name instead of the IP address
Actual Behaviour:
My Pi-hole is not working correctly. I have tried many solutions, but nothing seems to work. I am using Pi-hole for both DNS and DHCP. When I try to use nslookup, it returns a "non-existent domain" error.
Your router is advertising its own IPv6 ULA as DNS server, allowing clients to bypass your Pi-hole completely.
Your Pi-hole has to be the sole DNS server for your clients.
Current FritzBox models should support deactivating IPv6 DNS servers via Home Network|Network|Network Settings|IP Addresses|IPv6 Settings.
Try:
a. Untick Also announce DNSv6 server via router advertisement (RFC 5006).
b. Tick Disable DHCPv6 server in the FRITZ!Box for the home network and
b.1. choose There are no other DHCPv6 servers for the home network.
This will have clients construct their IPv6 addresses via auto-configuration (SLAAC) exclusively, and will leave them with just an IPv4 address for DNS.
The one potential drawback would be that IPv6-only clients would have no means of DNS resolution. IPv4-only as well as dual-stack clients would still be fully satisfied with an IPv4 DNS server.