dns

package
v5.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2026 License: Apache-2.0 Imports: 20 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SRVNames = []SRVName{}/* 115 elements not displayed */

SRVNames is the tiered corpus. Intentionally includes a blend of:

  • IETF/IANA-standardized services
  • widely-used vendor SRVs (notably Microsoft)
  • modern operational signals (DevOps, service discovery, databases)

You can filter by Tier and/or Confidence at runtime.

Functions

func NamesByTier added in v5.1.1

func NamesByTier(maxTier Tier) []string

Convenience: legacy compatibility with existing Amass patterns (string slice only).

func NewDNS

func NewDNS() et.Plugin

func NewReverse

func NewReverse(p *dnsPlugin) *dnsReverse

func NewSubs

func NewSubs(p *dnsPlugin) *dnsSubs

Types

type Confidence added in v5.1.1

type Confidence uint8
const (
	ConfHigh   Confidence = 90 // widely deployed / standardized and frequently observed
	ConfMedium Confidence = 70 // common but less universal, or more vendor-/vertical-specific
	ConfLow    Confidence = 50 // niche or historically relevant; keep for completeness
)

type SRVName added in v5.1.1

type SRVName struct {
	Name       string     // "_service._tcp|_udp|_tls" etc.
	Tier       Tier       // Tier1/2/3
	Category   string     // coarse grouping (identity, mail, rtc, devops, etc.)
	Vendor     string     // "IETF/IANA", "Microsoft", "Apple", etc. (best-effort)
	Confidence Confidence // see constants above
	Notes      string     // short rationale / special handling notes
}

SRVName is the left-hand label pair for SRV lookups: _service._proto Example query: _ldap._tcp.example.com IN SRV ?

type Tier added in v5.1.1

type Tier uint8
const (
	Tier1 Tier = 1 // Always-on, highest ROI: core infra, AD/M365, email, web, common collaboration
	Tier2 Tier = 2 // Common enterprise/devops/cloud-native and security controls
	Tier3 Tier = 3 // Niche/vertical/gaming/IoT/vendor-specific; opt-in due to lower base-rate
)

Jump to

Keyboard shortcuts

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