Exit on error.
Add manpage.
Use /usr/local as default PREFIX.
Fix dist rule in Makefile.
Install hosts.d to /etc/hosts.d not to /usr/local/etc/hosts.d.