So I"m trying to get my dns over Wireguard working. Using some dns client tools on my iPhone I get proper ip addresses on some lookups but using those addresses gives error. For example. I have a computer running BlueIris. Using dns lookup I get the proper ip address for the hostname 'blueiris.local' however browsing to blueiris.local:81 in safari doesn't work and doing a port scan gives an invalid hostname error.
What am I not understanding?
I've now disabled all IP6 (or so I think) and it's still not working. nslookup pulls up the ip address just fine but curl reports bad hostname
The .local domain is reserved for mDNS. I don't know what your iPhone does if it fails to get a mDNS response, but it sounds like it gives up. Use a different local domain, like ".lan".
You were so right. Changed to .lan and it all started working. Thank you !