dns

package
v0.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2025 License: MIT Imports: 2 Imported by: 0

README

Cloudflare's 1.1.1.1 DoH as the net.DefaultResolver

GoDoc

Documentation

Overview

Package dns replaces the net.DefaultResolver with Cloudflare's 1.1.1.1.

This is a caching DNS over HTTPS implementation using: https://github.com/ncruces/go-dns

Usage:

import _ "github.com/ncruces/go-cloudflare/dns"

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL