@@ -129,28 +129,28 @@ assert.strictEqual(ip, presetIp) // test preset
129129console . log ( '\n\n' )
130130
131131assert . strictEqual ( dnsProviders . cloudflare . type , 'https' )
132- ip = await dnsProviders . cloudflare . lookup ( hostname1 )
133- console . log ( '===> test cloudflare:' , ip , '\n\n' )
132+ // ip = await dnsProviders.cloudflare.lookup(hostname1)
133+ // console.log('===> test cloudflare:', ip, '\n\n')
134134
135135assert . strictEqual ( dnsProviders . quad9 . type , 'https' )
136- ip = await dnsProviders . quad9 . lookup ( hostname1 )
137- console . log ( '===> test quad9:' , ip , '\n\n' )
136+ // ip = await dnsProviders.quad9.lookup(hostname1)
137+ // console.log('===> test quad9:', ip, '\n\n')
138138
139139assert . strictEqual ( dnsProviders . aliyun . type , 'https' )
140- ip = await dnsProviders . aliyun . lookup ( hostname1 )
141- console . log ( '===> test aliyun:' , ip , '\n\n' )
140+ // ip = await dnsProviders.aliyun.lookup(hostname1)
141+ // console.log('===> test aliyun:', ip, '\n\n')
142142
143143assert . strictEqual ( dnsProviders . safe360 . type , 'https' )
144- ip = await dnsProviders . safe360 . lookup ( hostname1 )
145- console . log ( '===> test safe360:' , ip , '\n\n' )
144+ // ip = await dnsProviders.safe360.lookup(hostname1)
145+ // console.log('===> test safe360:', ip, '\n\n')
146146
147147assert . strictEqual ( dnsProviders . rubyfish . type , 'https' )
148- ip = await dnsProviders . rubyfish . lookup ( hostname1 )
149- console . log ( '===> test rubyfish:' , ip , '\n\n' )
148+ // ip = await dnsProviders.rubyfish.lookup(hostname1)
149+ // console.log('===> test rubyfish:', ip, '\n\n')
150150
151151assert . strictEqual ( dnsProviders . py233 . type , 'https' )
152- ip = await dnsProviders . py233 . lookup ( hostname1 )
153- console . log ( '===> test py233:' , ip , '\n\n' )
152+ // ip = await dnsProviders.py233.lookup(hostname1)
153+ // console.log('===> test py233:', ip, '\n\n')
154154
155155
156156console . log ( '\n--------------- test TLS ---------------\n' )
@@ -159,24 +159,24 @@ assert.strictEqual(ip, presetIp) // test preset
159159console . log ( '\n\n' )
160160
161161assert . strictEqual ( dnsProviders . cloudflareTLS . type , 'tls' )
162- ip = await dnsProviders . cloudflareTLS . lookup ( hostname1 )
163- console . log ( '===> test cloudflareTLS:' , ip , '\n\n' )
162+ // ip = await dnsProviders.cloudflareTLS.lookup(hostname1)
163+ // console.log('===> test cloudflareTLS:', ip, '\n\n')
164164
165165assert . strictEqual ( dnsProviders . quad9TLS . type , 'tls' )
166- ip = await dnsProviders . quad9TLS . lookup ( hostname1 )
167- console . log ( '===> test quad9TLS:' , ip , '\n\n' )
166+ // ip = await dnsProviders.quad9TLS.lookup(hostname1)
167+ // console.log('===> test quad9TLS:', ip, '\n\n')
168168
169169assert . strictEqual ( dnsProviders . aliyunTLS . type , 'tls' )
170- ip = await dnsProviders . aliyunTLS . lookup ( hostname1 )
171- console . log ( '===> test aliyunTLS:' , ip , '\n\n' )
170+ // ip = await dnsProviders.aliyunTLS.lookup(hostname1)
171+ // console.log('===> test aliyunTLS:', ip, '\n\n')
172172
173173assert . strictEqual ( dnsProviders . aliyunTLS2 . type , 'tls' )
174- ip = await dnsProviders . aliyunTLS2 . lookup ( hostname1 )
175- console . log ( '===> test aliyunTLS2:' , ip , '\n\n' )
174+ // ip = await dnsProviders.aliyunTLS2.lookup(hostname1)
175+ // console.log('===> test aliyunTLS2:', ip, '\n\n')
176176
177177assert . strictEqual ( dnsProviders . safe360TLS . type , 'tls' )
178- ip = await dnsProviders . safe360TLS . lookup ( hostname1 )
179- console . log ( '===> test safe360TLS:' , ip , '\n\n' )
178+ // ip = await dnsProviders.safe360TLS.lookup(hostname1)
179+ // console.log('===> test safe360TLS:', ip, '\n\n')
180180
181181
182182console . log ( '\n--------------- test TCP ---------------\n' )
@@ -185,12 +185,12 @@ assert.strictEqual(ip, presetIp) // test preset
185185console . log ( '\n\n' )
186186
187187assert . strictEqual ( dnsProviders . googleTCP . type , 'tcp' )
188- ip = await dnsProviders . googleTCP . lookup ( hostname1 )
189- console . log ( '===> test googleTCP:' , ip , '\n\n' )
188+ // ip = await dnsProviders.googleTCP.lookup(hostname1)
189+ // console.log('===> test googleTCP:', ip, '\n\n')
190190
191191assert . strictEqual ( dnsProviders . aliyunTCP . type , 'tcp' )
192- ip = await dnsProviders . aliyunTCP . lookup ( hostname1 )
193- console . log ( '===> test aliyunTCP:' , ip , '\n\n' )
192+ // ip = await dnsProviders.aliyunTCP.lookup(hostname1)
193+ // console.log('===> test aliyunTCP:', ip, '\n\n')
194194
195195
196196console . log ( '\n--------------- test UDP ---------------\n' )
@@ -199,9 +199,9 @@ assert.strictEqual(ip, presetIp) // test preset
199199console . log ( '\n\n' )
200200
201201assert . strictEqual ( dnsProviders . googleUDP . type , 'udp' )
202- ip = await dnsProviders . googleUDP . lookup ( hostname1 )
203- console . log ( '===> test googleUDP:' , ip , '\n\n' )
202+ // ip = await dnsProviders.googleUDP.lookup(hostname1)
203+ // console.log('===> test googleUDP:', ip, '\n\n')
204204
205205assert . strictEqual ( dnsProviders . aliyunUDP . type , 'udp' )
206- ip = await dnsProviders . aliyunUDP . lookup ( hostname1 )
207- console . log ( '===> test aliyunUDP:' , ip , '\n\n' )
206+ // ip = await dnsProviders.aliyunUDP.lookup(hostname1)
207+ // console.log('===> test aliyunUDP:', ip, '\n\n')
0 commit comments