Skip to content

Troubleshooting PowerLobster DNS Deployment

The ShakeStation resolver returns "Status": 2 for mike.boss.

  • Status 2 = SERVFAIL (Server Failure).
  • Meaning: The resolver found your NS record (ns1.powerlobster.com), tried to contact your server (178.128.115.224), but got no response or an error.

Your DigitalOcean VPS likely has a firewall blocking UDP Port 53.

  • Action: SSH into the VPS and run:
    Terminal window
    sudo ufw allow 53/udp
    sudo ufw allow 53/tcp
    sudo ufw reload

Check if your Python script is actually binding to the port.

  • Action: Run on VPS:
    Terminal window
    sudo netstat -ulpn | grep :53
    • Expected: You should see python3 listening on 0.0.0.0:53.

See if the script crashed or is throwing errors when a request comes in.

  • Action: Run on VPS:
    Terminal window
    sudo journalctl -u powerlobster-dns -f

Try to query the server directly again. If this times out, it’s definitely a firewall issue.

Terminal window
dig @178.128.115.224 mike.boss TXT
  • If it says “connection timed out”: It’s the Firewall.
  • If it says “status: SERVFAIL”: It’s the Python Script (check logs).