Running

DNS-Env

DNS Zone File Debugging Environment for OpenEnv — Train AI agents to diagnose and fix real-world DNS misconfigurations.

openenv reinforcement-learning dns infrastructure devops
🎯 Tasks

fix_single_record

Easy

Fix broken records in example.com — missing trailing dots, invalid IPs, malformed MX. The classic DNS gotchas that cause real outages.

configure_mail

Medium

Set up complete email delivery for acme.co — MX records, SPF authorization, DMARC policy. 80% of domains get this wrong.

debug_delegation

Hard

Repair broken NS delegation across parent.org and dev.parent.org — fix glue records, NS consistency, SOA serials.

Reward Function
Structural validity
30%
Resolution checks
50%
No regressions
20%

Deterministic grading via zone-file parsing and record matching. Partial credit for incremental progress.

🔌 API Endpoints
MethodEndpointDescription
GET/healthLiveness probe
POST/resetStart a new episode with a task
POST/stepExecute an action (view, edit, dig, submit)
GET/stateCurrent episode state
GET/tasksList available tasks
GET/docsInteractive Swagger UI
Live Demo

Click to run a live interaction against this environment:

OpenEnv Spec Compliance
✓ step(action) ✓ reset() ✓ state() ✓ openenv.yaml ✓ Typed Pydantic Models ✓ Docker Container ✓ 3 Graded Tasks ✓ Baseline Inference