$npx skillfedfor your agent

aiohttp-asyncmdnsresolver

An async resolver for aiohttp that supports MDNS

Worth itPyPI WWW/HTTPReleased May 2026555.8K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — aiohttp_asyncmdnsresolver-0.2.0-py3-none-any.whl
v0.2.0 · released 2026-05-20 · Python >=3.10 · 3 runtime deps: aiodns, aiohttp, zeroconf

Yes. The package solves a specific, real problem (mDNS resolution in aiohttp) with low install friction, active maintenance, no known vulnerabilities, and a permissive license. Install it if you need to resolve .local hostnames or discover services on a local network; skip it if your application only uses standard DNS.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later; resolver must be explicitly closed after use.
  • Low friction: pure Python wheel with three runtime dependencies (aiohttp, aiodns, zeroconf).
  • Actively maintained with recent releases and no known vulnerabilities.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 permissive license allows use in commercial and proprietary projects with minimal restrictions.

last release 2026-05-20 (86 days) · last repo commit 2026-08-14 · 2 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 555,806 downloads/mo, #6,024 on PyPI

Verify before relying

import asyncio
import aiohttp
from aiohttp_asyncmdnsresolver.api import AsyncMDNSResolver

async def main():
    resolver = AsyncMDNSResolver()
    try:
        connector = aiohttp.TCPConnector(resolver=resolver)
        async with aiohttp.ClientSession(connector=connector) as session:
            async with session.get('http://example.local.') as response:
                print(response.status)
    finally:
        await resolver.close()

asyncio.run(main())
  • Whether aiodns or zeroconf have their own system-level dependencies (e.g., compiled libraries or network services).
  • Performance characteristics when resolving many concurrent mDNS queries or handling network timeouts.
Same gist for agents: .md · .json

What it is and what it does

aiohttp-asyncmdnsresolver is a resolver plugin for aiohttp's TCPConnector that adds support for multicast DNS (mDNS) name resolution. It wraps the zeroconf library to resolve .local domain names asynchronously, enabling aiohttp clients to discover and connect to services advertised on local networks via mDNS. The package includes two resolver classes: AsyncMDNSResolver for mDNS-only resolution, and AsyncDualMDNSResolver for concurrent mDNS and regular DNS queries, returning the first successful result.

The package is designed for scenarios where you need to connect to devices or services on a local network that advertise themselves via mDNS (common in IoT, printers, and home automation). It integrates directly into aiohttp's connection pipeline by passing a resolver instance to TCPConnector, making it transparent to the rest of your aiohttp code. The resolver must be explicitly closed after use since aiohttp does not own it.

Use it for

  • Connect to IoT devices or smart home services advertised on the local network via mDNS (e.g., printers, cameras).
  • Build a service discovery client that resolves .local hostnames without relying on external DNS servers.
  • Implement fallback resolution for .local names that may exist in both mDNS and unicast DNS using AsyncDualMDNSResolver.
  • Integrate mDNS support into aiohttp-based microservices running on local networks without DNS infrastructure.
  • Test aiohttp clients against local services during development using mDNS-based hostnames.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The package solves a specific, real problem (mDNS resolution in aiohttp) with low install friction, active maintenance, no known vulnerabilities, and a permissive license. Install it if you need to resolve .local hostnames or discover services on a local network; skip it if your application only uses standard DNS.

Install

aiohttp-asyncmdnsresolver on PyPI

Before you install

Low friction: pure Python wheel with three runtime dependencies (aiohttp, aiodns, zeroconf). Actively maintained with recent releases and no known vulnerabilities.

Requires Python 3.10 or later; resolver must be explicitly closed after use.

License in practice

Apache-2.0 permissive license allows use in commercial and proprietary projects with minimal restrictions.

Quickstart

import asyncio
import aiohttp
from aiohttp_asyncmdnsresolver.api import AsyncMDNSResolver

async def main():
    resolver = AsyncMDNSResolver()
    try:
        connector = aiohttp.TCPConnector(resolver=resolver)
        async with aiohttp.ClientSession(connector=connector) as session:
            async with session.get('http://example.local.') as response:
                print(response.status)
    finally:
        await resolver.close()

asyncio.run(main())

Verify before relying

  • Whether aiodns or zeroconf have their own system-level dependencies (e.g., compiled libraries or network services).
  • Performance characteristics when resolving many concurrent mDNS queries or handling network timeouts.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
aiodnsaiohttpzeroconf
MaintenanceActively maintained 86 days since the last release
Last repo commit
First released
Downloads555,806 / month, #6,024 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableFramework :: AsyncIOFramework :: aiohttpIntended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Internet :: WWW/HTTPTyping :: Typed

Evidence: aiohttp_asyncmdnsresolver-0.2.0-py3-none-any.whl

Tags

Capabilities
aiohttp mdns resolverasync mdns resolutionzeroconf aiohttp integrationlocal domain name resolutionaiohttp custom resolvermdns dns fallback resolverasyncio mdns client
Topics
mdnsservice-discoveryasyncio

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “aiohttp mdns resolver”

  • aiohttp-asyncmdnsresolverProvides an async resolver for aiohttp that enables mDNS name…
  • aioairqAsynchronous Python library for retrieving real-time and historical…
  • zeroconfDiscovers and registers services on local networks using multicast…

Give your agent the search over MCP, or paste the wish link into any chat.

More WWW/HTTP packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
h11 With conditions
PyPI · WWW/HTTP · released Apr 2025

h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.

MITpure Python · 3.8+aging
894.9Mdownloads / mo
httpx Worth it
PyPI · WWW/HTTP · released Dec 2024

HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.

Install it if you are building new projects or modernizing existing ones that rely on HTTP.

BSD-3-Clausepure Python · 3.8+
797.0Mdownloads / mo
httpcore With conditions
PyPI · WWW/HTTP · released Apr 2025

A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.

BSD-3-Clausepure Python · 3.8+aging
783.6Mdownloads / mo
aiohttp Worth it
PyPI · WWW/HTTP · released Jul 2026

aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.

Install it if you need async HTTP client or server capabilities in asyncio-based applications.

permissive licensecompiled wheel · 3.10+
643.6Mdownloads / mo

See also zeroconf · aiodns · nslookup · aiohttp-client-cache · aiohttp_socks · pycares · aioairq · aiohttp-retry · aiohttp-asgi-connector