Added dig checks for Cloudflare and Google DNS resolvers.
EditImproved output formatting with clearer headers and status markers.
EditModified script to conditionally show 'Common fixes' only on failures.
EditValidated script syntax and output behavior.
VerifyDone.
This check was not already covered directly. The script had:
dig @127.0.0.1 and dig @::1 — checks NextDNS local daemondscacheutilBut it did not test public DNS resolvers like Cloudflare or Google directly.
I added a new section:
It now checks:
Behavior:
PASS if public DNS worksWARN if public DNS fails, since some networks intentionally block external DNSI also ran:
and syntax is OK.
Done. I cleaned up the output formatting in /usr/local/bin/nextdns-doctor.
Changes include:
▸ Section name✓ PASS, ! WARN, ✗ FAILdig output — shows one IP plus (+N more) instead of dumping all answersI also ran:
and executed the script to verify the output looks good.
Done.
Common fixes now only prints when FAIL > 0.
I also removed a stray Timestamp... log header from the recent logs output while validating the script.
Syntax check passes: