I use an Apple Silicion Mac and am trying to configure a custom resolver. I have created a file in /etc/resolver/ called test, and the contents of the file are:
❯ cat /etc/resolver/test
nameserver 127.0.0.1
search_order 1
Afterwards, I should be able to ping th.test or this.is.test and get a response, but this is not working.
According to this tutorial, that should work: https://www.cmdsolutions.com.au/latest-thinking/blogs/how-to-set-up-a-local-kubernetes-cluster-with-minikube-for-local-development-on-macos/
scutil -dns shows
resolver #8
domain : test
nameserver[0] : 127.0.0.1
flags : Request A records, Request AAAA records
reach : 0x00030002 (Reachable,Local Address,Directly Reachable Address)
The resolver shows as reachable, yet I cannot ping any *.test. How could I get this to work?
Thank you!