From 8c223ee09281cc92a2210341313006c5e88c4b77 Mon Sep 17 00:00:00 2001 From: Gris Ge Date: Tue, 19 Dec 2023 22:54:53 +0800 Subject: [PATCH] Add document for DNS purging Signed-off-by: Gris Ge --- devel/yaml_api.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/devel/yaml_api.md b/devel/yaml_api.md index 99e845a..be29a25 100644 --- a/devel/yaml_api.md +++ b/devel/yaml_api.md @@ -1583,6 +1583,13 @@ is required to find a interface to hold DNS settings in the order of: * First unchanged interface in current state with static IP or auto IP with `auto-dns: false`. +To purge the static DNS configure, please use + +```yml +dns-resolver: + config: {} +``` + ## Hostname Only available on nmstate version 2.1.1+.