@@ -130,8 +130,8 @@ static async Task Main(string[] args)
130130 //"udp://8.8.8.8:53",
131131 //"udp://1.1.1.1:53",
132132 //"udp://9.9.9.9:53",
133- // "https://every1dns.com/dns-query",
134- "https://dns.cloudflare.com/dns-query" ,
133+ "https://every1dns.com/dns-query" ,
134+ // "https://dns.cloudflare.com/dns-query",
135135 //"https://dns.google/dns-query",
136136 //"https://45.90.29.204:443/dns-query",
137137 //"udp://208.67.222.222:5353",
@@ -141,13 +141,13 @@ static async Task Main(string[] args)
141141 AgnosticSettings settings1 = new ( )
142142 {
143143 Working_Mode = AgnosticSettings . WorkingMode . DnsAndProxy ,
144- ListenerPort = 443 ,
144+ ListenerPort = 8080 ,
145145 DnsTimeoutSec = 10 ,
146146 ProxyTimeoutSec = 0 ,
147147 MaxRequests = 1000000 ,
148148 KillOnCpuUsage = 40 ,
149149 DNSs = dnsServers1 ,
150- BootstrapIpAddress = IPAddress . Any , // IPAddress.Parse("8.8.8.8")
150+ BootstrapIpAddress = IPAddress . Parse ( "8.8.8.8" ) , // IPAddress.Parse("8.8.8.8")
151151 BootstrapPort = 53 ,
152152 AllowInsecure = false ,
153153 BlockPort80 = false ,
@@ -194,14 +194,14 @@ static async Task Main(string[] args)
194194 } ,
195195 }
196196 } ;
197- server1 . EnableRules ( rules ) ;
197+ // server1.EnableRules(rules);
198198
199199 AgnosticSettingsSSL settingsSSL = new ( true )
200200 {
201201 ChangeSni = true ,
202202 DefaultSni = "speedtest.net"
203203 } ;
204- // await server1.EnableSSLAsync(settingsSSL);
204+ await server1 . EnableSSLAsync ( settingsSSL ) ;
205205
206206 await server1 . StartAsync ( settings1 ) ;
207207
0 commit comments