Created
March 6, 2022 23:47
-
-
Save tristanmorgan/0351947fd41716cd5edab411c1cb5b45 to your computer and use it in GitHub Desktop.
Use Consul DNS for ".consul" and reverse IP lookups on macOS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/resolver/10.in-addr.arpa | |
nameserver 127.0.0.1 | |
port 8600 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/resolvers/consul | |
nameserver 127.0.0.1 | |
port 8600 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
source https://developer.hashicorp.com/consul/tutorials/networking/dns-forwarding#macos-setup , but I keep forgetting where it came from so a gist too.