Add minimal DNS resolver

Add a minimal DNS resolver for the installer so we can stop
using the sketchy CGI script.