Add FreeBSD resolver support
Merge pull request #4 from alanpearce/freebsd

Add FreeBSD resolver support