Verify local connectivity

Last updated Apr 23, 2026 To verify that your DNS traffic is sent to Gateway:

  1. In the Cloudflare dashboard ↗︎, go to Zero Trust > Traffic policies > Traffic settings.
  2. Under Log traffic activity, enable activity logging for all DNS logs.
  3. On your device, open a browser and go to any website.
  4. In the Cloudflare dashboard ↗︎, go to Zero Trust > Insights > Logs > DNS.
  5. Make sure DNS queries from your device appear.

Was this helpful?

YesNo

On this page

Verify local connectivity - 图1Docs

{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/learning-paths/cybersafe/gateway-onboarding/gateway-verify-local-connectivity/#page","headline":"Verify local connectivity","description":"Learn about verify local connectivity in this guide.","url":"https://developers.cloudflare.com/learning-paths/cybersafe/gateway-onboarding/gateway-verify-local-connectivity/","inLanguage":"en","image":"https://developers.cloudflare.com/learning-paths/cybersafe/gateway-onboarding/gateway-verify-local-connectivity/og.png?v=1d8a93134420870d","dateModified":"2026-04-23","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}


description: Advertise IP prefixes via Magic Transit. title: Advertise prefixes image: https://developers.cloudflare.com/learning-paths/data-center-protection/advertise-prefixes/og.png?v=76f47ba39b118eab


Skip to content

Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/learning-paths/llms.txt
Use this file to discover all available pages before exploring further.