Zum Hauptinhalt springen
tsecurity.de LIVE
Echtzeit-Radar & Feeds
Alle RSS Feeds
👥 Community & Social
IT Nachrichten22. September(22.09.2026 um 00:05 Uhr)
IT NachrichtenLizenzprobleme: AnyDesk und TeamViewer(22.09.2026 um 00:30 Uhr)
Apple iOS & macOSApple's iOS 27.2 beta 2 reveals new anti-snatching protections(22.09.2026 um 00:27 Uhr)
AI & KI NachrichtenUC Irvine to Study AI for Writing Instruction(21.09.2026 um 23:31 Uhr)
AI & KI NachrichtenBurnham to call for global effort to control threats posed by AI(21.09.2026 um 23:30 Uhr)
IT Nachrichten22. September(22.09.2026 um 00:05 Uhr)
IT NachrichtenLizenzprobleme: AnyDesk und TeamViewer(22.09.2026 um 00:30 Uhr)
Apple iOS & macOSApple's iOS 27.2 beta 2 reveals new anti-snatching protections(22.09.2026 um 00:27 Uhr)
AI & KI NachrichtenUC Irvine to Study AI for Writing Instruction(21.09.2026 um 23:31 Uhr)
AI & KI NachrichtenBurnham to call for global effort to control threats posed by AI(21.09.2026 um 23:30 Uhr)
Intelligence View
⚡ tsecurity.de Intelligence

Slow mDNS Name Resolution

Today is my first time working with mDNS, and I set everything up correctly, so now it's test time. I'm on macOS, but I think this issue might apply to other operating systems too. I'm writing this because a lot of people online don't seem…

0
↗ Quelle (dev.to)
Reagiere als Erste:r — dein Feedback zählt!

Today is my first time working with mDNS, and I set everything up correctly, so now it's test time. I'm on macOS, but I think this issue might apply to other operating systems too. I'm writing this because a lot of people online don't seem to fully understand the problem. Many don’t even realize they’re using mDNS and just expect the .local domain to work magically.






The Issue



Everything works fine, even when I use curl with the mDNS name, but the response time is always consistently 5 seconds.



Here’s what I tested before finding the solution:




  • I used dns-sd -B _http._tcp to discover services, and got results in milliseconds.


  • I did an IP address lookup with dns-sd -G v4 <hostname>.local, and the result was also in milliseconds.


  • But when I curl an API, it takes 5 seconds to get a response.







Solution



It turns out that curl (or whatever tool you’re using) is likely waiting for an IPv6 address when resolving the domain name. You can see this in the packet capture from Wireshark:



Wireshark Dump Result



The problem is that the host only supports IPv4, so curl waits for the IPv6 resolution for about 5 seconds before it falls back to IPv4 and gets a response right away.



There are a few ways to fix this, depending on your setup and needs. You can force curl (or your tool) to use IPv4 by using curl -4, or you can configure the host to support IPv6.






What I Found Online



I couldn’t find any clear explanations online. Most people don’t realize they’re relying on mDNS with the .local hostname. Others try to bypass the issue without understanding the cause, like adding the hostname to /etc/hosts, which defeats the purpose of using mDNS in the first place.

Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Slow mDNS Name Resolution

Thematisch verwandte Begriffe: Slow, mDNS, Name, Resolution · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Zum Aktualisieren ziehen
ZERO-DAY CVE-2026-49449 | Joplin is an open source note-taking and to-do application that organise…
Advisory →
TTS Reader • tsecurity.de Voice
tsecurity.de Icon
tsecurity.de App
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag
Themen-Radar & Intelligence Matrix
Echtzeit-Taxonomie nach Angriffsvektoren & Plattformen

tsecurity.de Live Threat Radar

🔴 LIVE RADAR
MONITORING
AKTIV
CVE-DATENBANK
LIVE
🔍
Community Radar & Live Chat
Sentinel Bot online • Live-Stream
Dein Cluster: Security Explorer
Match:
lädt…
Verbindung zum Community-Stream wird aufgebaut...
Bearbeitungsmodus — Senden überschreibt deine Nachricht
Community-Puls — was gerade passiert
lädt…
Aktivitäten deiner Analysten
lädt…
Neues Thema oder Eilmeldung einreichen

Reiche interessante Links, Zero-Days oder Debatten ein. Die Community entscheidet per Upvote über die Veröffentlichung.

Heiß diskutierte Einreichungen
🔖 Gespeicherte Artikel
📂 Keine gespeicherten Artikel vorhanden.
Zurück Ziehen Vor
Links: vorheriger Artikel Rechts: nächster Artikel unten: schließen
News NIS-2 Frühwarnung Tier-1 Intel ⏱️ 3 Min vor 10 Min
Artikeldaten werden geladen...

Zurück: vorheriger Vor: nächster
↗ Original-Quelle
Social Reaktionen Deine Reaktion zählt
Einstufung & Relevanz-Poll 0 Stimmen
In sozialen Netzwerken teilen 1-Klick