README documents features not implemented: inconsistency-resolved detection and nxdomain/nodata status values #68
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The README describes several features that are not implemented in the codebase:
1. "Inconsistency resolved" detection
The README states under DNS Hostname Monitoring:
The code in
watcher.gohasdetectInconsistencies()which checks for current inconsistencies between nameservers, but there is no logic to detect when a previously-detected inconsistency has been resolved. There is no state tracking of previous inconsistency status.2. State status values
nxdomainandnodataThe README State File Format section documents these status values:
nxdomainnodataBut the code only ever sets NameserverRecordState status to
"ok"(inbuildHostnameState(), line 346 of watcher.go). The values"nxdomain"and"nodata"are never written anywhere in the watcher or state code.3. "Empty response" detection
The README states:
While a change from records to no-records would be caught by
detectRecordChanges()as a generic record change, it is not specifically identified or labeled as a NODATA/NXDOMAIN event.Impact
Users expect these features to work as documented. The README is the primary documentation.
Recommendation
Either implement the features or update the README to remove the claims. For 1.0 MVP, removing the unimplemented items from the README is probably the faster path.
Category
Should-fix before 1.0.