OFDNSResolver: Split out settings

This makes it easier to attach them to a query.