Rework rspamd DNS resolver.