Split resolver from DNS (protocol) module

Also fixes commit hook. No period in the subject of the commit message (per GitHub guidelines)