dnscontrol/docs/js.md
Tom Limoncelli 1aca045d5b
DOCS: Fix many small typos (#1794)
Co-authored-by: Jeffrey Cafferata <jeffrey@jcid.nl>
2022-10-30 13:56:45 -04:00

2 KiB

layout title
default JavaScript DSL

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 object that will be passed to the go backend and operated on.

{% include table-of-contents.md docs-functions-dir="domain" html-anchor="domain-modifiers" title="Domain Modifiers" %} {% assign showProviders = 'AKAMAIEDGEDNS, AZURE_DNS, CLOUDFLAREAPI, ROUTE53' %} {% for provider in site.providers %} {% if showProviders contains provider.jsId %} {% include table-of-contents.md docs-functions-dir="domain" html-anchor="domain-modifiers" title="Domain Modifiers" provider-name=provider.name provider-jsId=provider.jsId %} {% endif %} {% endfor %} {% include table-of-contents.md docs-functions-dir="global" html-anchor="top-level-functions" title="Top Level Functions" %} {% include table-of-contents.md docs-functions-dir="record" html-anchor="record-modifiers" title="Record Modifiers" %}

{% include funcList.md title="Top Level Functions" dir="global" %}

{% include funcList.md title="Domain Modifiers" dir="domain" %}

{% include funcList.md title="Record Modifiers" dir="record" %}