Compare commits
No commits in common. "7b1eeb38dbea011e07304f4f19e99a3820565e7c" and "c0a9623ee007842bd4669c7bee3bc685fdf31bf8" have entirely different histories.
7b1eeb38db
...
c0a9623ee0
2 changed files with 2 additions and 2 deletions
|
|
@ -13,7 +13,7 @@ import (
|
||||||
|
|
||||||
// Collect probes the delegation and records raw facts only; judgment lives
|
// Collect probes the delegation and records raw facts only; judgment lives
|
||||||
// in rule.go. Phase B queries delegated servers using only the NS names and
|
// in rule.go. Phase B queries delegated servers using only the NS names and
|
||||||
// glue learned from the parent — the child zone is never trusted as a
|
// glue learned from the parent: the child zone is never trusted as a
|
||||||
// source of truth.
|
// source of truth.
|
||||||
func (p *delegationProvider) Collect(ctx context.Context, opts sdk.CheckerOptions) (any, error) {
|
func (p *delegationProvider) Collect(ctx context.Context, opts sdk.CheckerOptions) (any, error) {
|
||||||
svc, err := loadService(opts)
|
svc, err := loadService(opts)
|
||||||
|
|
|
||||||
|
|
@ -64,7 +64,7 @@ func resolveHost(ctx context.Context, host string) ([]string, error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// findParentZone returns the parent zone and its authoritative servers.
|
// findParentZone returns the parent zone and its authoritative servers.
|
||||||
// hintParent skips the label walk — happyDomain already knows the parent.
|
// hintParent skips the label walk: happyDomain already knows the parent.
|
||||||
func findParentZone(ctx context.Context, fqdn, hintParent string) (zone string, servers []string, err error) {
|
func findParentZone(ctx context.Context, fqdn, hintParent string) (zone string, servers []string, err error) {
|
||||||
zone = dns.Fqdn(hintParent)
|
zone = dns.Fqdn(hintParent)
|
||||||
if zone == "" || zone == "." {
|
if zone == "" || zone == "." {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue