Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 296 Bytes

File metadata and controls

15 lines (11 loc) · 296 Bytes

ec2-internal-dns-resolver

Resolve ip-xx-xx-xx-xx.ec2.internal domains, proxy all other requests to 8.8.8.8

Building

make

Running

  1. Set DNS to 127.0.0.1
  2. ./bin/ec2-internal-dns-resolver

Running on Startup

cp ec2-internal-dns-resolver.plist ~/Library/LaunchAgents/