On 30/08/2021 12:00, Simon Kelley wrote: > There seems to be redundant code in the find_soa() and do_doctor() code > path to do with logging too. I'll look at that at well. > Ah, that's because you moved TXT logging out of do_doctor and into extract_addresses(). All becomes clear now! Simon.