Skip to content

Instantly share code, notes, and snippets.

@tristanmorgan
Created March 6, 2022 23:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tristanmorgan/0351947fd41716cd5edab411c1cb5b45 to your computer and use it in GitHub Desktop.
Save tristanmorgan/0351947fd41716cd5edab411c1cb5b45 to your computer and use it in GitHub Desktop.
Use Consul DNS for ".consul" and reverse IP lookups on macOS
# /etc/resolver/10.in-addr.arpa
nameserver 127.0.0.1
port 8600
# /etc/resolvers/consul
nameserver 127.0.0.1
port 8600
@tristanmorgan
Copy link
Author

source https://developer.hashicorp.com/consul/tutorials/networking/dns-forwarding#macos-setup , but I keep forgetting where it came from so a gist too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment