nsConf[configIndex].DnsID = "";
        }
        try {
          const resp = await request.post("./save", {
            ...globalConf,
            DnsConf: dnsConf
          });
          if (resp.result !== "ok") {
            showMessage({
              content: resp.result,
              type: "error",
              duration: 5000,
            });
          } else {
            showMessage({
              content: i18n({
                "en": "Successfully saved",
                "zh-cn": "保存成功