diff --git a/web/assets/js/model/outbound.js b/web/assets/js/model/outbound.js
index 37dd9703b..53497548f 100644
--- a/web/assets/js/model/outbound.js
+++ b/web/assets/js/model/outbound.js
@@ -934,11 +934,19 @@ Outbound.BlackholeSettings = class extends CommonClass {
}
};
Outbound.DNSSettings = class extends CommonClass {
- constructor(network = 'udp', address = '1.1.1.1', port = 53) {
+ constructor(
+ network = 'udp',
+ address = '1.1.1.1',
+ port = 53,
+ nonIPQuery = 'drop',
+ blockTypes = []
+ ) {
super();
this.network = network;
this.address = address;
this.port = port;
+ this.nonIPQuery = nonIPQuery;
+ this.blockTypes = blockTypes;
}
static fromJson(json = {}) {
@@ -946,6 +954,8 @@ Outbound.DNSSettings = class extends CommonClass {
json.network,
json.address,
json.port,
+ json.nonIPQuery,
+ json.blockTypes,
);
}
};
diff --git a/web/html/xui/form/outbound.html b/web/html/xui/form/outbound.html
index 081c6fd71..848824984 100644
--- a/web/html/xui/form/outbound.html
+++ b/web/html/xui/form/outbound.html
@@ -75,6 +75,14 @@
[[ s ]]
+
+
+ [[ s ]]
+
+
+
+
+