Install dnsmasq ```bash brew install dnsmasq ``` ```bash cat << EOF > /usr/local/etc/dnsmasq.conf #log-queries cache-size=4096 #dont use hosts nameservers no-resolv # Send work domains to the work DNS server in AWS server=/jenkins.stocko-infra.net/10.0.0.2 # Send all traffic to local DNS server on my LAN (could be 8.8.8.8 etc) server=10.10.40.53 strict-order EOF sudo brew services enable dnsmasq # test it works dig google.com @127.0.0.1