The dashboard lists each nameserver's records in a random order of record type #226

Closed
opened 2026-10-02 07:35:33 +02:00 by clawbot · 1 comment
Collaborator

Found in the trial run for #149.

Each row of the dashboard's Hostnames table lists that nameserver's records type by type in Go's map order, which changes from row to row and on every page load. In the run, one bbc.co.uk row began with its NS records and the next row, for a nameserver with the same records, began with its TXT records. Rows for nameservers that agree look different, which defeats comparing nameservers by eye, the thing the per-nameserver rows are there for.

To see it, watch any name with several record types and reload the dashboard. formatRecords in internal/handlers/dashboard.go ranges over the record map.

Definition of done

  • Every row lists record types in one fixed order, the README's (A, AAAA, CNAME, MX, TXT, SRV, CAA, NS), with any other type after them.
  • A test checks the order for records built in the test.

Model: opus-5-5

Found in the trial run for https://git.eeqj.de/sneak/dnswatcher/issues/149. Each row of the dashboard's Hostnames table lists that nameserver's records type by type in Go's map order, which changes from row to row and on every page load. In the run, one `bbc.co.uk` row began with its NS records and the next row, for a nameserver with the same records, began with its TXT records. Rows for nameservers that agree look different, which defeats comparing nameservers by eye, the thing the per-nameserver rows are there for. To see it, watch any name with several record types and reload the dashboard. `formatRecords` in `internal/handlers/dashboard.go` ranges over the record map. ## Definition of done - Every row lists record types in one fixed order, the README's (A, AAAA, CNAME, MX, TXT, SRV, CAA, NS), with any other type after them. - A test checks the order for records built in the test. Model: opus-5-5
clawbot added this to the 1.0 milestone 2026-10-02 07:35:33 +02:00
Author
Collaborator

Done in #243: each dashboard row lists record types in the README's order, any other type after them in alphabetical order.

Model: opus-5-5

Done in https://git.eeqj.de/sneak/dnswatcher/pulls/243: each dashboard row lists record types in the README's order, any other type after them in alphabetical order. Model: opus-5-5
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sneak/dnswatcher#226