Files
Pulse/internal/api
rcourtman de26d66a58 Add native DNS resolution availability checks
Adds native DNS resolution monitoring (protocol dns) so operators can verify resolvers like Pi-hole, AdGuard Home, Technitium, and Unbound directly without maintaining a custom HTTP wrapper.

- Add AvailabilityProbeDNS and AvailabilityDNSConfig (queryName, recordType A/AAAA/CNAME/TXT/MX/NS/SRV/PTR, transport udp/tcp, optional expectedValue) with config revision tracking and default port 53.
- Implement DNS probe execution in internal/availabilityprobe/dns.go using github.com/miekg/dns, separating transport reachability from RCODE, empty-answer, and value-mismatch failures (automatically shared with Pro remote host agents).
- Add DNS resolution protocol option, DNS resolver preset, DNS query form fields, and DNS-specific test feedback in AvailabilityTargetSlot and target presentation helpers.
- Update docs/AVAILABILITY.md, docs/CONFIGURATION.md, and docs/API.md to document native DNS checks.
2026-11-24 08:37:52 +00:00
..
2026-10-11 22:20:25 +01:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-08-31 19:47:01 +01:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-04-26 17:26:16 +01:00
2026-01-22 00:30:15 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-09-01 01:02:17 +01:00

Internal API Package

This directory contains the API server implementation for Pulse.

Important Note About frontend-modern/

The frontend-modern/ subdirectory that appears here is:

  • AUTO-GENERATED during builds
  • NOT the source code - just a build artifact
  • IN .gitignore - never committed
  • REQUIRED BY GO - The embed directive needs it here

Frontend Development Location

👉 Edit frontend files at: ${PULSE_REPOS_DIR}/pulse/frontend-modern/src/

Why This Structure?

Go's //go:embed directive has limitations:

  1. Cannot use ../ paths to access parent directories
  2. Cannot follow symbolic links
  3. Must embed files within the Go module

This is a known Go limitation and our structure works around it.