diff --git a/commands/types/dnscontrol.d.ts b/commands/types/dnscontrol.d.ts index 2b3debb4a..93b7a5624 100644 --- a/commands/types/dnscontrol.d.ts +++ b/commands/types/dnscontrol.d.ts @@ -782,7 +782,7 @@ declare function MX(name: string, priority: number, target: string, ...modifiers declare function NAMESERVER(name: string, ...modifiers: RecordModifier[]): DomainModifier; /** - * TTL sets the TTL on the domain apex NS RRs defined by [NAMESERVER](NAMESERVER.md). + * NAMESERVER_TTL sets the TTL on the domain apex NS RRs defined by [NAMESERVER](NAMESERVER.md). * * The value can be an integer or a string. See [TTL](../record/TTL.md) for examples. * @@ -1376,9 +1376,9 @@ declare function DEFAULTS(...modifiers: RecordModifier[]): void; * * ```javascript * DOMAIN_ELSEWHERE("example.com", REG_NAMEDOTCOM, ["ns1.foo.com", "ns2.foo.com"]); + * ``` * - * // ...is equivalent to... - * + * ```javascript * D("example.com", REG_NAMEDOTCOM, * NO_PURGE, * NAMESERVER("ns1.foo.com"), @@ -1412,9 +1412,9 @@ declare function DOMAIN_ELSEWHERE(name: string, registrar: string, nameserver_na * * ```javascript * DOMAIN_ELSEWHERE_AUTO("example.com", REG_NAMEDOTCOM, DSP_AZURE); + * ``` * - * // ...is equivalent to... - * + * ```javascript * D("example.com", REG_NAMEDOTCOM, * NO_PURGE, * DnsProvider(DSP_AZURE) @@ -1758,17 +1758,17 @@ declare function getConfiguredDomains(): string[]; * One more important thing to note: `require_glob()` is as smart as `require()` is. It loads files always relative to the JavaScript * file where it's being executed in. Let's go with an example, as it describes it better: * - * `dnscontrol.js`: - * + * {% code title="dnsconfig.js" %} * ```javascript * require("domains/index.js"); * ``` + * {% endcode %} * - * `domains/index.js`: - * + * {% code title="domains/index.js" %} * ```javascript * require_glob("./user1/"); * ``` + * {% endcode %} * * This will now load files being present underneath `./domains/user1/` and **NOT** at below `./domains/`, as `require_glob()` * is called in the subfolder `domains/`. @@ -1925,7 +1925,7 @@ declare function R53_ZONE(zone_id: string): DomainModifier & RecordModifier; * (inlining) includes and removing duplicates. DNSControl also makes * it easier to document your SPF configuration. * - * **Warning:** Flattening SPF includes is risky. Only flatten an SPF + * WARNING: Flattening SPF includes is risky. Only flatten an SPF * setting if it is absolutely needed to bring the number of "lookups" * to be less than 10. In fact, it is debatable whether or not ISPs * enforce the "10 lookup rule". diff --git a/go.sum b/go.sum index 79d9b5a00..71d74dd51 100644 --- a/go.sum +++ b/go.sum @@ -319,9 +319,6 @@ github.com/juju/version v0.0.0-20180108022336-b64dbd566305/go.mod h1:kE8gK5X0CIm github.com/juju/version v0.0.0-20191219164919-81c1be00b9a6/go.mod h1:kE8gK5X0CImdr7qpSKl3xB2PmpySSmfj7zVbkZFs81U= github.com/julienschmidt/httprouter v1.1.1-0.20151013225520-77a895ad01eb/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= -github.com/kolo/xmlrpc v0.0.0-20200310150728-e0350524596b/go.mod h1:o03bZfuBwAXHetKXuInt4S7omeXUu62/A845kiycsSQ= -github.com/kolo/xmlrpc v0.0.0-20201022064351-38db28db192b h1:iNjcivnc6lhbvJA3LD622NPrUponluJrBWPIwGG/3Bg= -github.com/kolo/xmlrpc v0.0.0-20201022064351-38db28db192b/go.mod h1:pcaDhQK0/NJZEvtCO0qQPPropqV0sJOJ6YW7X+9kRwM= github.com/kolo/xmlrpc v0.0.0-20220921171641-a4b6fa1dd06b h1:udzkj9S/zlT5X367kqJis0QP7YMxobob6zhzq6Yre00= github.com/kolo/xmlrpc v0.0.0-20220921171641-a4b6fa1dd06b/go.mod h1:pcaDhQK0/NJZEvtCO0qQPPropqV0sJOJ6YW7X+9kRwM= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= @@ -381,7 +378,6 @@ github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrk github.com/mitchellh/go-testing-interface v1.0.4 h1:ZU1VNC02qyufSZsjjs7+khruk2fKvbQ3TwRV/IBCeFA= github.com/mitchellh/go-testing-interface v1.0.4/go.mod h1:kRemZodwjscx+RGhAo8eIhFbs2+BFgRtFPeD/KE+zxI= github.com/mitchellh/go-wordwrap v1.0.0/go.mod h1:ZXFpozHsX6DPmq2I0TCekCxypsnAUbP2oI0UX1GXzOo= -github.com/mitchellh/mapstructure v1.3.3/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= github.com/mitchellh/mapstructure v1.4.1/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY= github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= @@ -398,8 +394,6 @@ github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRW github.com/namedotcom/go v0.0.0-20180403034216-08470befbe04 h1:o6uBwrhM5C8Ll3MAAxrQxRHEu7FkapwTuI2WmL1rw4g= github.com/namedotcom/go v0.0.0-20180403034216-08470befbe04/go.mod h1:5sN+Lt1CaY4wsPvgQH/jsuJi4XO2ssZbdsIizr4CVC8= github.com/nbio/st v0.0.0-20140626010706-e9e8d9816f32/go.mod h1:9wM+0iRr9ahx58uYLpLIr5fm8diHn0JbqRycJi6w0Ms= -github.com/nrdcg/goinwx v0.8.1 h1:20EQ/JaGFnSKwiDH2JzjIpicffl3cPk6imJBDqVBVtU= -github.com/nrdcg/goinwx v0.8.1/go.mod h1:tILVc10gieBp/5PMvbcYeXM6pVQ+c9jxDZnpaR1UW7c= github.com/nrdcg/goinwx v0.8.2 h1:RmjiHlEA+lzi3toXyPSaE6hWnBQ0+G+1u7w8C6Fpp4g= github.com/nrdcg/goinwx v0.8.2/go.mod h1:mnMSTi7CXBu2io4DzdOBoGFA1XclD0sEPWJaDhNgkA4= github.com/nu7hatch/gouuid v0.0.0-20131221200532-179d4d0c4d8d/go.mod h1:YUTz3bUH2ZwIWBy3CJBeOBEugqcmXREj14T+iG/4k4U=