github.com/StackExchange/dnscontrol/v4@v4.11.0/documentation/language-reference/domain-modifiers/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 {% code title="dnsconfig.js" %} 16 ```javascript 17 D("example.com", REG_MY_PROVIDER, DnsProvider(DSP_MY_PROVIDER), 18 ); 19 ``` 20 {% endcode %} 21 22 Purge is the default, but we set it anyway: 23 24 {% code title="dnsconfig.js" %} 25 ```javascript 26 D("example.com", REG_MY_PROVIDER, DnsProvider(DSP_MY_PROVIDER), 27 PURGE, 28 END); 29 ``` 30 {% endcode %} 31 32 Since the "last command wins", this is the same as `PURGE`: 33 34 {% code title="dnsconfig.js" %} 35 ```javascript 36 D("example.com", REG_MY_PROVIDER, DnsProvider(DSP_MY_PROVIDER), 37 PURGE, 38 NO_PURGE, 39 PURGE, 40 NO_PURGE, 41 PURGE, 42 END); 43 ``` 44 {% endcode %}