Files
adaptive-multi-protocol-gat…/tests
b041a78d29 Write Dynadot records under the names Dynadot expects (#6)
The write path sent value1 and value2. Dynadot uses record_value1 and
record_value2 in both directions and answered with "if record_type is entered,
record_value1 must be entered", which reads like a missing value rather than a
misnamed one.

I corrected the reader for exactly this last time and left the writer alone,
having concluded the two spellings differed. They do not. The unit test agreed
with the code rather than with Dynadot, so it passed while every write was
refused.

That is now twice, in opposite directions, with a green suite each time. So this
adds a round trip: read a zone, write it straight back, and assert nothing
changed. It feeds the writer exactly what the reader produced, so a spelling the
two do not share shows up as a value that vanished, and it fails against the
code as it was.

Worth the care because set_hosts replaces the whole zone. A record the reader
drops or the writer misnames is a record deleted from a live domain, and the
first zone we are writing is a shop.

Co-authored-by: jw <jw@jwmacbookm5.local>
2026-08-25 08:06:20 -04:00
..
2026-07-06 12:29:08 -04:00
2026-07-06 18:06:42 -04:00