- 313 new markdown files created - 30 relationships embedded - 313 entries indexed - State initialized with usage data
1.4 KiB
1.4 KiB
| id | type | title | tags | importance | confidence | created | updated | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 01944bbd-666b-4bed-b33b-422596618b81 | fix | Successfully fixed Paper Dynasty API 502 errors via manual Pi-hole DNS cleanup |
|
0.8 | 0.8 | 2026-02-07T15:13:11.809193+00:00 | 2026-02-07T15:13:11.809193+00:00 |
What We Fixed
Paper Dynasty API (pd.manticorum.com) was returning 502 Bad Gateway errors
Root Cause Diagnosis
- pd.manticorum.com resolved to 10.10.0.16 (local Pi-hole)
- Pi-hole had NPM proxy rule forwarding to akamai:8002
- NPM couldn't reach akamai backend → 502 error
- User removed NPM proxy rule to use Cloudflare instead
- BUT Pi-hole v6 DNS records remained in TWO locations:
- /etc/pihole/pihole.toml (hosts array)
- /etc/pihole/hosts/custom.list
Manual Fix That Worked
ssh pihole "docker exec pihole sed -i '/pd.manticorum.com/d' /etc/pihole/pihole.toml /etc/pihole/hosts/custom.list && docker exec pihole pihole reloaddns"
Verification
DNS now resolves to Cloudflare
dig pd.manticorum.com → 104.21.19.27, 172.67.184.232
API works
curl https://pd.manticorum.com/api/v2/teams/66 → Success!
- KSK (team 42): has_guide = true ✓
- Gauntlet-KSK (team 66): has_guide = true ✓
Key Learning
Pi-hole v6 stores DNS records in BOTH pihole.toml AND hosts/custom.list Must update both files for changes to take effect