diff --git a/shared/import-export.c b/shared/import-export.c index 42cd5ea..232b151 100644 --- a/shared/import-export.c +++ b/shared/import-export.c @@ -1209,6 +1209,9 @@ create_config_string (NMConnection *connection, GError **error) g_free(value); args_write_line(f, NMV_WG_TAG_LISTEN_PORT, "=", listen_port); + if(dns){ + args_write_line(f,NMV_WG_TAG_DNS, "=", dns); + } if(post_up){ args_write_line(f, NMV_WG_TAG_POST_UP, "=", post_up);