dns

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package dns plans Cloudflare DNS records.

The narrowest useful scope on purpose: the handful of records a website needs to exist — an apex, a www, a verification TXT. Not a zone manager. Records upkeep does not know about are left alone and reported, because a DNS record is the one thing here that can take a site off the internet by being removed.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Plan

func Plan(ctx context.Context, api API, d config.DNS) (plan.Plan, error)

Plan diffs the declared records against the zone.

Types

type API

type API interface {
	Do(ctx context.Context, method, path string, body, result any) error
}

Jump to

Keyboard shortcuts

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