This is a DNS which resolves local.nacdlow.com
to your local computer's IP
address. This allows testing PWAs.
- Build with
go build
. - Run with
sudo ./dev-dns-server <your ip>
Make sure to replace <your ip>
with your computer's IP address. You can find
out with ip addr
.
- Go to Wi-Fi page in your Settings application.
- Tap on the current network, then Advanced.
- Set IP settings from DHCP to Static.
- Put your computer's IP in DNS 1, keep DNS 2 empty. Then Save.
- Go to Wi-Fi page in your Settings application.
- Tap on the (i) next to the WiFi.
- Scroll down and click Configure DNS.
- Tap "Manual" and add your computer's IP address. Then Save.