github.com/philhug/dnscontrol@v0.2.4-0.20180625181521-921fa9849001/docs/_functions/domain/PURGE.md (about) 1 --- 2 name: PURGE 3 --- 4 5 PURGE is the default setting for all domains. Therefore PURGE is 6 a no-op. It is included for completeness only. 7 8 A domain with a mixture of NO_PURGE and PURGE parameters will abide 9 by the last one. 10 11 These three examples all are equivalent. 12 13 PURGE is the default: 14 15 {% include startExample.html %} 16 {% highlight js %} 17 D("example.com", .... , 18 ); 19 {%endhighlight%} 20 {% include endExample.html %} 21 22 Purge is the default, but we set it anyway: 23 24 {% include startExample.html %} 25 {% highlight js %} 26 D("example.com", .... , 27 PURGE, 28 ); 29 {%endhighlight%} 30 {% include endExample.html %} 31 32 Since the "last command wins", this is the same as `PURGE`: 33 34 {% include startExample.html %} 35 {% highlight js %} 36 D("example.com", .... , 37 PURGE, 38 NO_PURGE, 39 PURGE, 40 NO_PURGE, 41 PURGE, 42 ); 43 {%endhighlight%} 44 {% include endExample.html %}