cloudflare-vpc-services

Diagnose dns_error and connectivity issues in Cloudflare VPC Services.

15|7|Updated Sep 29, 2025
One-click install
npx skills add https://github.com/nodnarbnitram/claude-code-extensions --skill cloudflare-vpc-services
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cloudflare-vpc-services
Source: https://github.com/nodnarbnitram/claude-code-extensions/tree/main/.claude/skills/cloudflare-vpc-services
Command: npx skills add https://github.com/nodnarbnitram/claude-code-extensions --skill cloudflare-vpc-services

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires wrangler, cloudflared>=2025.7.0, and includes scripts (resource) and references (resource) and templates (resource) components.

What problem does it solve?

This Skill eliminates the complexity of setting up Cloudflare VPC Services by automatically configuring tunnels, service bindings, and routing for secure internal service connectivity.

Core Features & Use Cases

  • VPC Service Configuration: Create and troubleshoot VPC service bindings for Workers to access private APIs.

Core Features & Use Cases

  • Tunnel Diagnostics: Identify and fix cloudflared tunnel issues and dns_error problems.
  • Worker Code Generation: Write optimized fetch() patterns for accessing internal services through VPC bindings.

Quick Start

Configure a VPC service binding in wrangler.jsonc and write Worker code to securely fetch data from your private API endpoints.

Frequently Asked Questions about cloudflare-vpc-services

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up Cloudflare VPC Services to access private APIs from Workers?

VPC Services enable Workers to securely fetch data from private APIs through encrypted tunnels. Configure a VPC service binding in wrangler.jsonc with an IP or hostname, install cloudflared 2025.7.0+, and call env.VPC_SERVICE.fetch() with absolute URLs to route traffic through the tunnel.

What causes dns_error in Cloudflare Workers VPC Services?

DNS errors typically stem from incorrect hostname resolution or tunnel misconfiguration. Verify the internal hostname is resolvable, cloudflared tunnel is running, and your wrangler binding specifies the correct service endpoint and port.

Can I use Cloudflare Workers to connect to private APIs without exposing them publicly?

Yes, VPC Services create private connectivity channels. Workers access internal APIs through authenticated, encrypted tunnels via cloudflared, keeping your private infrastructure isolated from the public internet while maintaining secure Worker-to-API communication.

Do I need to change my Worker fetch() code to use VPC service bindings?

Minimally. Use env.VPC_SERVICE.fetch() with absolute URLs targeting your internal hostname or IP. The port specified in binding configuration is ignored in fetch calls; pass the full URL including the path you need.

What versions of cloudflared support QUIC protocol for VPC Services?

QUIC protocol support requires cloudflared version 2025.7.0 or later. This dependency ensures optimized tunnel performance and modern protocol support for Worker-to-private-API communication.

Why does my VPC service connectivity fail even though wrangler.jsonc looks correct?

Connectivity issues often involve tunnel diagnostics, binding misconfiguration, or hostname resolution. Verify cloudflared is running, the service endpoint is reachable from the tunnel, wrangler bindings match your service configuration, and fetch() calls use absolute internal URLs.