DNS Forwarder - iOS Issue
-
I recently added entry to my Host Overrides in order to resolve issue related self host subdomain. My PC has no issue access the subdomain now after I added the entry. But for some reason my iPhone is still showing public ip address when I ping the subdomain rather than the local ip on Host Overrides. My iPhone is assigned to 192.168.1.167. I tried enabled private network setting on my iOS which basically generate a new mac address hence generate a new ip address. Now when I ping the subdomain on my iphone, it showing the local ip. But when I switch back to 192.168.1.167, it showing the public ip address. Is there additional step that I need to do? I already tried restart "unbound" services.
-
That's all down to how iOS is resolving it. It sounds like when it thinks it's on a public network it ignores the DNS server IP it's sent via DHCP and uses something else. DoH maybe.
Steve
-
@nevar The original DNS record may be cached on the phone. What was its TTL? You could try restarting the phone.
-
thanks for the input. I will try that when I get back home.
-
I was able figure the issue. I didnt realized that I set dns manually and point to my pihole docker when using my one of wireless.