Vai al contenuto principale

Risolvere l'errore 'Connesso ma senza Internet' sul Guest WiFi

Questa guida tecnica di riferimento autorevole spiega come i timeout DNS causati da reti congestionate scatenano l'errore 'Connesso, senza Internet' sul Guest WiFi. Fornisce ad architetti di rete e responsabili IT passaggi di implementazione attuabili per distribuire filtri DNS aziendali al fine di risolvere questi colli di bottiglia e migliorare l'onboarding degli ospiti.

📖 5 minuti di lettura📝 1,103 parole🔧 2 esempi pratici3 domande di esercitazione📚 8 definizioni chiave

Ascolta questa guida

Visualizza trascrizione del podcast
Solving the Connected but No Internet Error on Guest WiFi — A Purple Technical Briefing [INTRODUCTION & CONTEXT — approximately 1 minute] Welcome to the Purple Technical Briefing series. I'm your host, and today we're tackling one of the most persistent and frustrating issues in enterprise venue networking: the "connected, no internet" error on guest WiFi. If you manage WiFi infrastructure at a hotel, retail chain, stadium, or conference centre, you will have seen this. A guest's device shows full signal bars, it's associated to your access point, it's been assigned an IP address — and yet the browser returns nothing. The captive portal never loads. The guest calls the front desk. Your support team runs a ping test, everything looks fine on paper, and yet the problem keeps recurring. Here's the thing: in the vast majority of cases I encounter across enterprise deployments, this is not a hardware fault, not a firewall misconfiguration, and not a bandwidth problem in the traditional sense. It is a DNS timing issue — and it is almost always triggered by network congestion. Today I want to walk you through exactly why that happens, how to diagnose it reliably, and how deploying an enterprise DNS filter resolves the bottleneck permanently. [TECHNICAL DEEP-DIVE — approximately 5 minutes] Let's start with the fundamentals. When a guest device connects to your WiFi network, the very first thing it needs to do — before it can load a single webpage, before your captive portal can redirect it, before any authentication can happen — is resolve a domain name to an IP address via DNS. The Domain Name System is the phonebook of the internet. Without it, your device has no way of knowing where to send traffic. Now, here's where the problem begins. Most consumer devices — iPhones, Android handsets, Windows laptops — have a built-in mechanism called a captive portal detection probe. On iOS, for example, the device sends an HTTP request to a known Apple endpoint, something like captive.apple.com. On Android, it hits connectivitycheck.gstatic.com. On Windows, it probes msftconnecttest.com. These probes are designed to detect whether the network requires a login page before granting internet access. The critical point is this: these probes are DNS-dependent. The device must first resolve the domain name of the probe endpoint before it can send the HTTP request. And that DNS query has a timeout — typically between one and five seconds depending on the operating system. If the DNS resolver on your network does not respond within that window, the device concludes that the network has no internet connectivity, even though it is fully associated and has a valid IP address. That is the "connected, no internet" error. It is not a connectivity failure — it is a DNS response failure. So why does DNS fail on a congested network? This is the part that catches a lot of teams out. DNS queries are sent over UDP by default, on port 53. UDP is a connectionless protocol — there is no handshake, no acknowledgement, no retransmission at the transport layer. If a DNS packet is dropped due to network congestion, the client simply waits until the timeout expires and then either retries or gives up. On a guest WiFi network with hundreds or thousands of concurrent devices — think a stadium during a match, a hotel at full occupancy, a conference centre during a keynote — the upstream link and the DNS resolver can become saturated very quickly. The problem is compounded by the fact that guest networks typically share a single upstream DNS resolver, often the ISP's default resolver or a public resolver like 8.8.8.8. When every device on the network is simultaneously probing for captive portal detection, running background app updates, and making DNS queries for social media and streaming services, that single resolver becomes a bottleneck. Query response times climb from the normal sub-50-millisecond range into the hundreds or even thousands of milliseconds. Timeouts start occurring. The "connected, no internet" errors begin flooding in. There is also a secondary mechanism worth understanding: TTL exhaustion. DNS responses include a Time To Live value that tells the receiving device how long to cache the resolved IP address. On a congested network where devices are constantly associating and disassociating — which is common in high-density venues — cached entries expire and must be re-resolved frequently. This increases the DNS query load on the resolver precisely when the network is under the most stress. Now, the traditional response to this problem is to throw bandwidth at it — upgrade the upstream link, add more access points, implement QoS policies. These are all valid measures, but they do not address the root cause. The root cause is that your DNS resolution path is unoptimised for high-density guest environments. And that is exactly what an enterprise DNS filter solves. An enterprise DNS filter — such as the DNS filtering capability within Purple's guest WiFi platform — operates as a local, high-performance DNS resolver that sits between your guest devices and the upstream internet. Rather than forwarding every query to a remote public resolver, it maintains a local cache of frequently resolved domains, handles captive portal detection probes natively, and applies policy-based filtering to block malicious or non-compliant domains before they ever reach the upstream resolver. The result is dramatically reduced DNS query latency — typically from two-to-three-second timeouts down to sub-200-millisecond responses — which means captive portal detection probes succeed on the first attempt, the "connected, no internet" error disappears, and guest onboarding time drops significantly. From a standards perspective, this architecture aligns with IEEE 802.11 recommendations for high-density deployments and supports compliance with GDPR data handling requirements by allowing you to log and audit DNS queries — which is relevant if you are operating under a public sector or hospitality licence. It also supports PCI DSS network segmentation requirements by ensuring guest DNS traffic is isolated from your corporate resolver infrastructure. [IMPLEMENTATION RECOMMENDATIONS & PITFALLS — approximately 2 minutes] Let me give you the practical deployment guidance. When you are rolling out an enterprise DNS filter on a guest WiFi network, there are three configuration decisions that will determine whether you succeed or fail. First, resolver placement. Your DNS filter must be deployed as close to the guest network as possible — ideally on the same VLAN or subnet as your guest access points. Every hop between the guest device and the resolver adds latency. If your DNS filter is sitting in a remote data centre and your guest network is in a hotel in Manchester, you are adding round-trip time that defeats the purpose. Use a local appliance or a cloud-delivered DNS filter with a regional point of presence. Second, captive portal DNS passthrough. This is the most common misconfiguration I see. When you deploy a DNS filter, you must ensure that the captive portal's own domain — the URL that guests are redirected to for authentication — is whitelisted in the filter. If the filter blocks or delays resolution of your captive portal domain, you will recreate the exact problem you were trying to solve. Always test captive portal resolution explicitly after deploying any DNS filtering policy. Third, TTL tuning. Configure your local DNS resolver to serve short TTLs for captive portal detection probe domains — Apple, Google, Microsoft — so that devices re-query frequently and always get a fast local response rather than waiting for a cached entry to expire and then hitting a congested upstream resolver. A TTL of 30 to 60 seconds for these specific domains is a reasonable starting point. The pitfall to avoid is over-filtering. Some teams deploy aggressive DNS blocklists that inadvertently block domains used by legitimate guest applications — streaming services, corporate VPN endpoints, cloud storage. This generates a different class of support ticket but is equally damaging to guest experience. Start with a conservative policy, monitor DNS query logs for blocked domains, and refine over a two-week period before locking down the configuration. [RAPID-FIRE Q&A — approximately 1 minute] Let me run through the questions I get asked most often on this topic. "Can I just use 8.8.8.8 as my guest DNS resolver?" You can, but under load it will timeout. A local or regional resolver will always outperform a public resolver on a congested network. "Does this affect WPA3 deployments?" No — WPA3 improves authentication security but does not change the DNS resolution path. The same DNS timeout problem occurs regardless of the encryption standard in use. "How do I know if DNS is the actual cause of my 'connected, no internet' errors?" Run a packet capture on the guest VLAN during peak load. Filter for UDP port 53 traffic. If you see DNS queries with no corresponding response within two seconds, DNS timeout is your culprit. "Does an enterprise DNS filter help with compliance?" Yes — DNS query logging provides an audit trail that supports GDPR accountability obligations and can assist with incident response. Purple's platform includes this logging natively. [SUMMARY & NEXT STEPS — approximately 1 minute] To summarise: the "connected, no internet" error on guest WiFi is overwhelmingly a DNS timing problem caused by network congestion overwhelming an unoptimised resolver path. The fix is not more bandwidth — it is a local, high-performance enterprise DNS filter that resolves captive portal detection probes quickly, maintains a local cache, and applies policy-based filtering to reduce upstream query load. The three things to do this week: run a DNS packet capture during peak load to confirm the diagnosis; review your current DNS resolver placement and identify whether it is local or remote; and evaluate an enterprise DNS filter deployment on your guest VLAN. If you want to go deeper on any of this, the Purple platform documentation covers DNS filter configuration in detail, and the guest WiFi optimisation guides on purple.ai are worth reviewing alongside this briefing. Thanks for listening — I'll see you on the next one. [END OF EPISODE]

header_image.png

Sintesi Esecutiva

Per i CTO e gli architetti di rete che supervisionano luoghi ad alta densità — come quelli nel Retail , nell' Hospitality , nell' Healthcare e nel Transport — l'errore 'Connesso, senza Internet' sulle reti Guest WiFi è un persistente problema operativo. Sebbene spesso erroneamente diagnosticato come un guasto hardware dell'AP o una larghezza di banda upstream insufficiente, la causa principale negli ambienti aziendali è tipicamente il timeout DNS causato dalla congestione della rete.

Quando centinaia di dispositivi sondano contemporaneamente per il rilevamento del Captive Portal (ad esempio, captive.apple.com), le query predefinite della porta UDP 53 possono sovraccaricare i resolver upstream standard. Se la risposta DNS supera la finestra di timeout a livello di sistema operativo (tipicamente 1-5 secondi), il dispositivo presume che non esista connettività internet, non riuscendo ad attivare il Captive Portal. Questa guida descrive in dettaglio l'architettura tecnica di questa modalità di errore e dimostra come la distribuzione di un filtro DNS aziendale risolva il collo di bottiglia, riducendo la latenza delle query da migliaia di millisecondi a meno di 200ms, garantendo la conformità a standard come IEEE 802.1X e GDPR, e migliorando drasticamente l'esperienza di onboarding degli ospiti.

Approfondimento Tecnico

Il Meccanismo di Rilevamento del Captive Portal

Quando un dispositivo client si associa a un access point e riceve un lease DHCP, deve verificare la raggiungibilità di internet prima di passare completamente a uno stato connesso. Ciò si ottiene tramite sonde di rilevamento del Captive Portal:

  • iOS/macOS: HTTP GET a captive.apple.com
  • Android: HTTP GET a connectivitycheck.gstatic.com
  • Windows: HTTP GET a msftconnecttest.com

Prima che l'HTTP GET possa essere emesso, il dispositivo deve risolvere il nome host tramite DNS. Questa query DNS iniziale è il punto critico di fallimento negli ambienti ad alta densità.

dns_flow_diagram.png

Perché la Congestione Scatena i Timeout DNS

Le query DNS utilizzano tipicamente UDP, un protocollo senza connessione e senza ritrasmissione a livello di trasporto. In una rete congestionata — come uno stadio durante l'intervallo o un hotel durante le ore di punta mattutine — i pacchetti UDP vengono facilmente persi o ritardati.

Se la sede si affida a un resolver ISP standard o a un servizio DNS pubblico (come 8.8.8.8), il tempo di andata e ritorno (RTT) più il tempo di elaborazione presso il resolver possono superare il limite di timeout hardcoded del sistema operativo. Quando il timeout scade, il dispositivo contrassegna la connessione come 'Connesso, senza Internet' e interrompe il processo di reindirizzamento del Captive Portal.

Inoltre, i valori brevi di Time-To-Live (TTL) su questi domini di sonda aggravano il problema. Poiché i dispositivi si associano e si disassociano costantemente, le voci memorizzate nella cache scadono rapidamente, scatenando un'ondata di query DNS simultanee proprio quando la rete è sotto il massimo carico.

Il Ruolo del Filtro DNS Aziendale

Un filtro DNS aziendale, come quello integrato nella piattaforma WiFi Analytics di Purple, agisce come un resolver ad alte prestazioni, locale o prossimo all'edge. Intercettando le query DNS prima che attraversino il link WAN congestionato, il filtro:

  1. Memorizza nella cache i Domini ad Alta Frequenza: Serve i domini di sonda localmente, riducendo l'RTT a livelli sub-millisecondi.
  2. Applicazione delle Policy: Elimina immediatamente le query per domini dannosi o bloccati, conservando la larghezza di banda WAN.
  3. Registrazione degli Audit: Fornisce una traccia di audit per la sicurezza IT , aiutando nella conformità GDPR e nella risposta agli incidenti.

venue_comparison_chart.png

Guida all'Implementazione

La distribuzione di un filtro DNS aziendale richiede un'attenta pianificazione architetturale per evitare di introdurre nuovi punti di fallimento.

1. Posizionamento del Resolver e Ottimizzazione della Latenza

Distribuire il filtro DNS il più vicino possibile al bordo della rete. Per le catene di vendita al dettaglio distribuite, un nodo edge fornito via cloud è appropriato; per grandi sedi a sito singolo come gli stadi, è preferibile un'appliance localizzata o una macchina virtuale sullo switch core. L'obiettivo è minimizzare il numero di hop di routing tra la VLAN ospite e il resolver.

2. Whitelisting del Captive Portal (Passthrough)

Il passaggio di configurazione più critico è assicurarsi che il dominio del Captive Portal sia esplicitamente inserito nella whitelist. Se il filtro DNS ritarda o blocca la risoluzione del portale di autenticazione stesso, si indurrà l'esatto errore che si sta tentando di risolvere.

3. Ottimizzazione del TTL e Gestione della Cache

Configurare il resolver locale per memorizzare aggressivamente nella cache i domini di sonda del Captive Portal. Sebbene rispettare i TTL upstream sia una pratica standard, sovrascrivere i TTL per captive.apple.com e domini simili a un minimo di 60 secondi localmente può ridurre drasticamente il volume delle query upstream durante gli eventi di associazione di picco.

4. Integrazione con l'Infrastruttura Esistente

Assicurarsi che la distribuzione del filtro DNS sia allineata con la segmentazione della rete esistente. Il traffico DNS degli ospiti deve rimanere isolato dall'infrastruttura DNS aziendale per mantenere la conformità PCI DSS. Questo isolamento è cruciale sia che si stia ottimizzando il WiFi dell'hotel per i viaggiatori d'affari o proteggendo una distribuzione nel settore pubblico.

Ascolta il nostro podcast di briefing tecnico per maggiori dettagli su questi passaggi di implementazione:

Migliori Pratiche

  • Evitare Resolver Pubblici per le Reti Ospiti: Affidarsi a 8.8.8.8 o 1.1.1.1 come DIl DNS assegnato dall'HCP per le reti guest ad alta densità introduce una variabilità di latenza inaccettabile.
  • Implementare il DNS over HTTPS (DoH) con cautela: Sebbene il DoH migliori la privacy, aggira il tradizionale filtraggio della porta 53. Assicurati che la tua soluzione DNS aziendale possa ispezionare o gestire il traffico DoH, se richiesto dalla politica della sede.
  • Monitorare le cadute della porta UDP 53: Configura il tuo firewall o switch di core per avvisare in caso di cadute eccessive di pacchetti sulla porta UDP 53, un indicatore principale di imminenti timeout DNS.
  • Rivedere regolarmente le Blocklist: Un filtraggio troppo aggressivo può compromettere applicazioni legittime. Rivedi i log delle query DNS settimanalmente per identificare i falsi positivi.

Per le implementazioni nel settore pubblico, garantire una connettività robusta fa parte di più ampie iniziative di inclusione digitale, come recentemente evidenziato quando Purple nomina Iain Fox VP Growth – Settore Pubblico .

Risoluzione dei problemi e mitigazione dei rischi

Quando si verifica l'errore "Connesso, nessun accesso a Internet", i team IT dovrebbero seguire un percorso diagnostico strutturato anziché presumere immediatamente l'esaurimento della larghezza di banda.

  1. Cattura di pacchetti (PCAP): Esegui una cattura di pacchetti sulla VLAN guest filtrando per udp port 53. Cerca query senza risposte corrispondenti entro una finestra di 2 secondi.
  2. Simulare la sonda: Utilizza curl o wget da un dispositivo di test sulla VLAN guest per raggiungere manualmente http://captive.apple.com/hotspot-detect.html. Misura il tempo di risoluzione DNS rispetto al tempo di risposta HTTP.
  3. Controllare le regole del Firewall: Verifica che nessuna politica di rate-limiting o QoS stia inavvertitamente limitando il traffico UDP sulla porta 53 dalla sottorete guest.
  4. Verificare le capacità offline: In ambienti con connettività WAN intermittente, considera funzionalità come la Modalità Mappe Offline di Purple per mantenere un certo livello di coinvolgimento degli utenti anche quando la connessione internet a monte è degradata.

ROI e impatto aziendale

La risoluzione dei timeout DNS influisce direttamente sul risultato economico per gli operatori delle sedi.

  • Riduzione dei costi di supporto: L'errore "Connesso, nessun accesso a Internet" è una causa principale dei ticket di supporto di Livello 1 nel settore dell'ospitalità e del commercio al dettaglio. Eliminarlo riduce le spese operative IT.
  • Aumento della raccolta dati: Un caricamento fallito del Captive Portal significa un'opportunità persa per la raccolta dati e l'autenticazione degli utenti. Garantendo un rendering rapido del portale, le sedi massimizzano il ROI delle loro piattaforme di WiFi Analytics .
  • Miglioramento della soddisfazione degli ospiti: La connettività senza interruzioni è un'aspettativa di base. Ridurre al minimo l'attrito nell'onboarding si correla direttamente con il miglioramento dei Net Promoter Score (NPS) e recensioni positive della sede.

Spostando la prospettiva da "abbiamo bisogno di più larghezza di banda" a "abbiamo bisogno di una risoluzione DNS ottimizzata", gli architetti di rete possono fornire un WiFi guest di livello enterprise che si adatta elegantemente sotto pressione.

Definizioni chiave

Captive Portal Detection Probe

An automated HTTP request sent by a mobile OS (e.g., to captive.apple.com) immediately upon network association to determine if a login page is required.

If this probe fails due to DNS timeout, the OS assumes there is no internet access and shows the error.

DNS Timeout

The event where a client device abandons a DNS query because the resolver took too long to respond (typically >2-5 seconds).

The primary technical cause of 'Connected, No Internet' errors in high-density environments.

Enterprise DNS Filter

A dedicated DNS resolver that caches queries locally and applies policy-based blocking to prevent access to malicious or unwanted domains.

Used to offload query volume from congested upstream resolvers and reduce latency.

UDP Port 53

The standard connectionless transport protocol and port used for DNS queries.

Because UDP has no guaranteed delivery, DNS packets are easily dropped during network congestion.

Time-To-Live (TTL)

A value in a DNS record that dictates how long a resolver or client should cache the IP address before querying again.

Short TTLs on probe domains cause frequent re-querying, exacerbating congestion.

IEEE 802.1X

A standard for port-based Network Access Control (PNAC) providing an authentication mechanism to devices wishing to attach to a LAN or WLAN.

While secure, 802.1X environments still rely on robust DNS infrastructure for post-authentication routing.

Local Internet Breakout

Routing internet-bound traffic directly from a branch location to the internet, rather than backhauling it to a central data center.

Crucial for reducing DNS latency in distributed retail or hospitality networks.

WPA3

The latest Wi-Fi security standard that provides enhanced encryption for open and password-protected networks.

WPA3 improves security but does not alter the fundamental DNS resolution path or mitigate timeout issues.

Esempi pratici

A 400-room hotel experiences a surge of 'Connected, No Internet' complaints every morning between 7:30 AM and 8:30 AM when guests wake up and connect to the WiFi. The 1Gbps WAN link shows only 40% utilization during this time.

  1. Run a packet capture on the guest VLAN filtering for UDP port 53 during the morning peak.
  2. Identify that DNS queries to captive portal probe domains (e.g., captive.apple.com) are taking >3000ms to resolve via the ISP's default DNS.
  3. Deploy a local enterprise DNS filter on the guest subnet.
  4. Configure the DHCP server to assign the local DNS filter IP to guest devices.
  5. Whitelist the hotel's captive portal domain in the filter.
  6. Monitor resolution times, which should drop to <50ms.
Commento dell'esaminatore: This approach correctly identifies that bandwidth is not the issue (only 40% utilized). By moving the DNS resolution to the edge, the hotel bypasses the congested ISP resolver path, ensuring captive portal probes succeed immediately.

A large retail chain rolls out a new guest WiFi network across 50 stores, but users in high-footfall flagship stores cannot load the captive portal, while users in smaller stores have no issues.

  1. Analyze the architecture: all 50 stores are tunneling guest traffic back to a central data center firewall, which then forwards DNS queries to a public resolver.
  2. In high-footfall stores, the sheer volume of concurrent association events exhausts the NAT/PAT state tables on the central firewall, causing UDP port 53 packets to be dropped.
  3. Implement a cloud-delivered enterprise DNS filter.
  4. Reconfigure the local branch routers to forward guest DNS queries directly to the cloud filter via local internet breakout, rather than backhauling them to the data center.
Commento dell'esaminatore: Backhauling guest DNS traffic to a central hub introduces unnecessary latency and state-table exhaustion risks. Local internet breakout for DNS, combined with a cloud-based filter, scales infinitely better for distributed retail environments.

Domande di esercitazione

Q1. A stadium IT director notices that during half-time, thousands of users connect to the WiFi but fail to reach the captive portal. The core switch shows heavy UDP packet drops. Should they increase the WAN bandwidth from 2Gbps to 5Gbps?

Suggerimento: Consider what protocol is being dropped and whether it's related to payload bandwidth or connection state limits.

Visualizza risposta modello

No. Increasing WAN bandwidth will not solve the issue. The UDP packet drops indicate that the firewall or resolver cannot handle the sheer volume of concurrent DNS queries (state table exhaustion or CPU limits). The correct approach is to deploy a high-performance local DNS filter at the edge to cache and respond to these queries locally, bypassing the WAN bottleneck entirely.

Q2. You have just deployed an enterprise DNS filter on a hotel guest network. Guests can now resolve public websites quickly, but when they first connect, they are not redirected to the hotel's login page. What is the most likely configuration error?

Suggerimento: Think about the domain name of the login page itself.

Visualizza risposta modello

The most likely error is that the captive portal's own domain has not been explicitly whitelisted (passthrough) in the DNS filter. The filter is either blocking or delaying the resolution of the portal URL, preventing the redirection from completing.

Q3. A public sector organization requires all guest WiFi traffic to be logged for 90 days to comply with security policies. How does deploying an enterprise DNS filter assist with this requirement?

Suggerimento: Consider what data a DNS filter processes versus a standard firewall.

Visualizza risposta modello

An enterprise DNS filter natively logs all DNS queries made by client devices. This provides a clear, searchable audit trail of which domains were requested and when, satisfying the 90-day logging requirement without needing to perform deep packet inspection on all encrypted HTTPS payload traffic.