mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-10-29 07:26:22 +08:00
857 B
857 B
| name |
|---|
| PURGE |
PURGE is the default setting for all domains. Therefore PURGE is
a no-op. It is included for completeness only.
A domain with a mixture of NO_PURGE and PURGE parameters will abide
by the last one.
These three examples all are equivalent.
PURGE is the default:
{% code title="dnsconfig.js" %}
D("example.com", REG_MY_PROVIDER, DnsProvider(DSP_MY_PROVIDER),
);
{% endcode %}
Purge is the default, but we set it anyway:
{% code title="dnsconfig.js" %}
D("example.com", REG_MY_PROVIDER, DnsProvider(DSP_MY_PROVIDER),
PURGE,
);
{% endcode %}
Since the "last command wins", this is the same as PURGE:
{% code title="dnsconfig.js" %}
D("example.com", REG_MY_PROVIDER, DnsProvider(DSP_MY_PROVIDER),
PURGE,
NO_PURGE,
PURGE,
NO_PURGE,
PURGE,
);
{% endcode %}