1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00
Julius Rickert 20dad35167 Replace Jekyll highlight tags with fenced code blocks (#1412)
* Replace Jekyll highlight tags with fenced code blocks

Replace Jekyll highlight tags with fenced code blocks.
Canonicalize javascript to js.
Correct highlighting languages.
Add highlighting to code blocks.
Remove leading $ from bash blocks.
Remove empty lines at start and end of code blocks.
Stripped trailing whitespace.

* Fix language of code highlighting
2022-02-17 12:22:31 -05:00

51 lines
757 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:
{% include startExample.html %}
```js
D("example.com", .... ,
);
```
{% include endExample.html %}
Purge is the default, but we set it anyway:
{% include startExample.html %}
```js
D("example.com", .... ,
PURGE,
);
```
{% include endExample.html %}
Since the "last command wins", this is the same as `PURGE`:
{% include startExample.html %}
```js
D("example.com", .... ,
PURGE,
NO_PURGE,
PURGE,
NO_PURGE,
PURGE,
);
```
{% include endExample.html %}