diff --git a/shared/import-export.c b/shared/import-export.c index e9368ac..cd8c0b9 100644 --- a/shared/import-export.c +++ b/shared/import-export.c @@ -1242,6 +1242,10 @@ create_config_string (NMConnection *connection, GError **error) args_write_line(f, NMV_WG_TAG_POST_DOWN, "=", post_down); } + if (dns){ + args_write_line(f, NMV_WG_TAG_DNS, "=", dns); + } + args_write_line(f, NMV_WG_TAG_PEER); args_write_line(f, NMV_WG_TAG_PUBLIC_KEY, "=", public_key); args_write_line(f, NMV_WG_TAG_ENDPOINT, "=", endpoint);