> For the complete documentation index, see [llms.txt](https://docs.dnscontrol.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dnscontrol.org/language-reference/js.md).

# JavaScript DSL

DNSControl uses JavaScript as its primary input language to provide power and flexibility to configure your domains. The ultimate purpose of the JavaScript is to construct a [DNSConfig](https://pkg.go.dev/github.com/DNSControl/dnscontrol/models#DNSConfig) object that will be passed to the go backend and operated on.
