mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
51 lines
814 B
Markdown
51 lines
814 B
Markdown
---
|
|
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:
|
|
|
|
{% capture example %}
|
|
```js
|
|
D("example.com", .... ,
|
|
);
|
|
```
|
|
{% endcapture %}
|
|
|
|
{% include example.html content=example %}
|
|
|
|
Purge is the default, but we set it anyway:
|
|
|
|
{% capture example %}
|
|
```js
|
|
D("example.com", .... ,
|
|
PURGE,
|
|
);
|
|
```
|
|
{% endcapture %}
|
|
|
|
{% include example.html content=example %}
|
|
|
|
Since the "last command wins", this is the same as `PURGE`:
|
|
|
|
{% capture example %}
|
|
```js
|
|
D("example.com", .... ,
|
|
PURGE,
|
|
NO_PURGE,
|
|
PURGE,
|
|
NO_PURGE,
|
|
PURGE,
|
|
);
|
|
```
|
|
{% endcapture %}
|
|
|
|
{% include example.html content=example %}
|