在使用dns.promises时,它也提供了API的另一种调用形式,即使用Promise来代替callbacks。这个DNS的Promise对象来自require('dns').promises