gokrazy / tools

this repository contains the gok CLI tool of gokrazy
https://gokrazy.org
BSD 3-Clause "New" or "Revised" License
50 stars 27 forks source link

packer: check whether local name resolution works and print instructions if no #12

Closed stapelberg closed 4 years ago

stapelberg commented 4 years ago

We could try to resolve the hostname of the local machine (taking care to avoid /etc/hosts) and/or reverse/forward resolve the default gateway’s IP address to see if local name resolution seems to work in this network.

This is motivated by a user who had only a public DNS resolver (not the local router) in their /etc/resolv.conf