Skip to content

Validate that a set of resource records are set on all nameservers

License

Notifications You must be signed in to change notification settings

pior/dnsvalidator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DNS Validator

GoDoc

Validate that a set of resource records are set on all nameservers.

Uses github.com/domainr/dnsr as recursor to avoid external DNS caching.

Usage:

import "github.com/pior/dnsvalidator"
dnsv := dnsvalidator.New()
ctx := context.Background()

report, err := dnsv.Inspect(ctx, name, type)

expected := []RR{{Name:  "...", Type:  "CNAME", Value: "..."},}
err = report.Validate(expected)

See example: cmd/test

License

The MIT License (MIT)

About

Validate that a set of resource records are set on all nameservers

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages