"Stockholm": DNS health check issue
Scenario: "Stockholm": DNS health check issue
Level: Medium
Type: Fix
Tags: dns
Access: Paid
Description: The internal status portal on this host should answer on http://127.0.0.1:9167/ with a body containing OK.
It worked until operations ran a package cleanup.
The portal service (stockholm-portal) only runs after a DNS health check at /usr/local/bin/stockholm-dns-check.sh succeeds.
Make the necessary changes so the portal works again.
Do not modify /usr/local/bin/stockholm-dns-check.sh.
Root (sudo) Access: True
Test: The health script /usr/local/bin/stockholm-dns-check.sh runs successfully, stockholm-portal is active, and curl http://127.0.0.1:9167/ returns a response whose body contains OK.
The "Check My Solution" button runs the script /home/admin/agent/check.sh, which you can see and execute.
Time to Solve: 10 minutes.