I am using the service OpenNIC for my DNS. This works fine. However, when using OpenNIC I am unable to connect to local domains.
Example:
$ ssh example.com
Works!
$ ssh my-computer.local
No longer works!
I can confirm that when I reset my DNS to the defaults my local domains resolve.
How do I setup my DNS to resolve internal domains correctly while still using OpenNIC for all external connections? What would be the correct way to do this to prevent leaking DNS requests?
.local
to name your machines. It will clash with mDNS. Use any registered domain name as suffix.