@@ -247,10 +247,11 @@ export default {
247
247
search: ' ' ,
248
248
dnsList: {
249
249
items: [
250
- { text: " Google DNS" , value: " 8.8.8.8" },
251
- { text: " Cloudflare DNS" , value: " 1.1.1.1" },
252
- { text: " OpenDNS DNS" , value: " 208.67.222.222" },
253
- { text: " Quad9 DNS" , value: " 9.9.9.9" },
250
+ { text: " Google DNS" , value: [ " 8.8.8.8" , " 8.8.4.4" ] },
251
+ { text: " Cloudflare DNS" , value: [ " 1.1.1.1" , " 1.0.0.1" ] },
252
+ { text: " OpenDNS DNS" , value: [ " 208.67.222.222" , " 208.67.220.222" ]},
253
+ { text: " OpenDNS Family Shield DNS" , value: [ " 208.67.222.123" , " 208.67.220.123" ]},
254
+ { text: " Quad9 DNS" , value: [ " 9.9.9.9" , " 149.112.112.112" ] },
254
255
]
255
256
},
256
257
svcList: {
@@ -509,13 +510,15 @@ export default {
509
510
this .service .net .netName = this .netList .selected .value ;
510
511
this .service .net .default = {}
511
512
this .service .net .default .dns = []
512
- this .service .net .default .dns [0 ] = this .dnsList .selected .value ;
513
+ this .service .net .default .dns [0 ] = this .dnsList .selected .value [0 ];
514
+ this .service .net .default .dns [1 ] = this .dnsList .selected .value [1 ];
513
515
514
516
this .service .vpn = {}
515
517
this .service .vpn .netName = this .serverList .selected .value ;
516
518
this .service .vpn .current = {}
517
519
this .service .vpn .current .dns = []
518
- this .service .vpn .current .dns [0 ] = this .dnsList .selected .value ;
520
+ this .service .vpn .current .dns [0 ] = this .dnsList .selected .value [0 ];
521
+ this .service .vpn .current .dns [1 ] = this .dnsList .selected .value [1 ];
519
522
this .service .vpn .current .endpoint = this .server .ipAddress + " :" + port;
520
523
this .service .vpn .current .listenPort = port;
521
524
0 commit comments