DNS Lookup Caching

Fixes #29.