Can I use a custom DNS server with a WireGuard and Cloudflare WARP configuration?

Responsive Ad Header

Question

Grade: Education Subject: Support
Can I use a custom DNS server with a WireGuard and Cloudflare WARP configuration?
Asked by:
81 Viewed 81 Answers

Answer (81)

Best Answer
(293)
Yes, while Cloudflare WARP uses Cloudflare's DNS by default, you can configure WireGuard to use a custom DNS server. Modify your WireGuard configuration to specify your preferred DNS servers under the `[Interface]` section, alongside the Cloudflare WARP IP addresses and other configurations.