# 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/StackExchange/dnscontrol/models#DNSConfig) object that will be passed to the go backend and operated on.