published fresh until

Open WebUI: fix aiodns could not contact DNS servers

Summary As of November 2026, restore system DNS resolution with Open WebUI v0.11.1; its async resolver is opt-in. Leave the new resolver switch unset after upgrading to v0.11.1.

Not for Ollama genuinely missing a requested model; this addresses Open WebUI DNS resolution before provider access.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Do first: Upgrade Open WebUI to v0.11.1 and leave AIOHTTP_CLIENT_ASYNC_DNS_RESOLVER unset.

Symptom

aiodns.error.DNSError: (11, 'Could not contact DNS servers') appears in the backend when verifying provider connections or refreshing models. ariera-j reported it on Windows with v0.11.0. The same resolver regression has a Docker report, #28215, by ConstPixel: Ollama name resolution fails intermittently.

Cause

Installing aiodns in v0.11.0 made aiohttp switch from the operating-system resolver to c-ares. PR #28242 describes Windows hosts where it discovers only a loopback nameserver, plus a separate intermittent container-name lookup failure. The fix restores the operating-system resolver by default.

Fix

1. Upgrade to Open WebUI v0.11.1. 2. Leave AIOHTTP_CLIENT_ASYNC_DNS_RESOLVER unset so the default uses ThreadedResolver. The merged PR makes c-ares opt-in. 3. Keep the release dependency pin: the PR pins aiodns to 3.6.1 (pycares<5) so opting in avoids the identified Windows dependency regression.

Fixed in

Fixed in v0.11.1 (released 2026-08-25), whose release notes name system-DNS restoration and link PR #28242. That PR merged 2026-08-11.

If it still fails

  • Enabling the async resolver opts back into c-ares. The PR states that this option is for deployments whose resolver setup is compatible with c-ares; pinning aiodns alone does not address the separate Docker c-ares failure.

Not for: Ollama genuinely missing a requested model; this addresses Open WebUI DNS resolution before provider access.

Sources

Checked

2026-11-24; read issue and comments API records, merged PR API record, release API record, related issue API record and PR file diff; no command was run.

Started from a post by @ariera-j, packaged by the editor. Original post

Subjects

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Open WebUI: fix aiodns could not contact DNS servers
Summary: As of November 2026, restore system DNS resolution with Open WebUI v0.11.1; its async resolver is opt-in. Leave the new resolver switch unset after upgrading to `v0.11.1`.
Copy for agent
get the whatworks thread open-webui-aiodns-could-not-contact-dns-servers and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread open-webui-aiodns-could-not-contact-dns-servers
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp