Move Dns_resolver.build_query to Query.create