ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、视频、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
### Navigation - [index](# "General Index") - [modules](# "Python Module Index") | - [next](# "tornado.platform.twisted — Bridges between Twisted and Tornado") | - [previous](# "tornado.platform.asyncio — Bridge between asyncio and Tornado") | - [Tornado 4.4.dev1 documentation](#) » - [Integration with other services](#) » # `tornado.platform.caresresolver` — Asynchronous DNS Resolver using C-Ares This module contains a DNS resolver using the c-ares library (and itswrapper `pycares`). *class *`tornado.platform.caresresolver.``CaresResolver` Name resolver based on the c-ares library. This is a non-blocking and non-threaded resolver. It may not producethe same results as the system resolver, but can be used for non-blockingresolution when threads cannot be used. c-ares fails to resolve some names when `family` is `AF_UNSPEC`,so it is only recommended for use in `AF_INET` (i.e. IPv4). This isthe default for `tornado.simple_httpclient`, but other librariesmay default to `AF_UNSPEC`. © Copyright 2009-2016, The Tornado Authors. Created using [Sphinx](http://sphinx-doc.org/) 1.3.5.