Add support for Debian/Ubuntu.

Debian uses 127.0.1.1 with fqdn as the default.
Merge pull request #2 from jonathanbower/ubuntu_support

Add support for Debian/Ubuntu.