1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00
Files
stackexchange-dnscontrol/documentation/markdown-examples/code/dnsconfig-code-example-with-filename.md
Jeffrey Cafferata 9a3cd8e26f DOCS: Documentation Style Guide (#2383)
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
2023-05-22 07:31:30 -04:00

216 B

{% code title="dnsconfig.js" %}

var REG_NONE = NewRegistrar('none');
var DNS_BIND = NewDnsProvider('bind');

D('example.com', REG_NONE, DnsProvider(DNS_BIND),
    A('@', '1.2.3.4')
);

{% endcode %}