I have the following home network setup:
- LAN: 172.16.0.0/24
- Proprietary router of my ISP (IPv4, Bridge-Mode -> Bridged to my FRITZ!Box router)
- Router & DHCP (FRITZ!Box) -> 172.16.0.1
- VPN, IPSEC (built-in functionality of the router, accessible via DDNS) -> 172.16.0.251 (VPN client IP)
- Synology DiskStation (Local DNS-Server) -> 172.16.0.10
The FRITZ!Box is configured to announce the DNS server's IP address to devices in the home network. This works fine when I connect my iPhone internally/via Wi-Fi; the client gets the correct DNS IP and the resolution of internal domains works as intended.
However, when I access the network via VPN, the name resolution fails. Interestingly Net Analyzer (iPhone App) lists 172.16.0.1 as my DNS server's IP address. It looks like the router doesn't tell my iOS device the DNS server's IP when connecting via VPN.
What am I missing here? Is that a general/known restriction or is this a functional restriction of my router or iOS?