Supprimer cache DNS sous Ubuntu 18.04

Astuce très simple mais pratique quand on manipule des noms de domaines.
Pour supprimer (flush  en anglais) le cache DNS il suffit de lancer la commande :
# systemd-resolve –flush-caches

Voila, pour infos il y a pleins d’autres options sympa à voir avec :
# systemd-resolve –help


Fatal error: Uncaught exception 'wfWAFStorageFileException' with message 'Unable to verify temporary file contents for atomic writing.' in /var/www/alternc/c/cinfo/www/courbeil.com/documentation/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/storage/file.php:51 Stack trace: #0 /var/www/alternc/c/cinfo/www/courbeil.com/documentation/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/storage/file.php(658): wfWAFStorageFile::atomicFilePutContents('/var/www/altern...', '<?php exit('Acc...') #1 [internal function]: wfWAFStorageFile->saveConfig('livewaf') #2 {main} thrown in /var/www/alternc/c/cinfo/www/courbeil.com/documentation/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/storage/file.php on line 51