貌似很多DNS requests
#1 貌似很多DNS requests
我用pi-hole,发现访问本站有时超出了default的每分钟1000个DNS requests。
下面是部分requests.
btloader.com
beacons5.gvt3.com
beacons4.gvt2.com
...
android.clients.google.com
clients2.google.com
googletagmanager.com
c.amazon-adsystem.com
cadmus.script.ac
下面是部分requests.
btloader.com
beacons5.gvt3.com
beacons4.gvt2.com
...
android.clients.google.com
clients2.google.com
googletagmanager.com
c.amazon-adsystem.com
cadmus.script.ac
+2.00 积分 [版主 wh 发放的奖励]
上次由 YouHi 在 2025年 2月 16日 11:14 修改。
#6 Re: 貌似很多DNS requests
谢谢反馈,应该是广告脚本干的,你可以用下面的方法收集日志发到站长信箱 support at newmitbbs,站长会发给广告商让他们查查是不是有问题。YouHi 写了: 2025年 2月 16日 11:07 我用pi-hole,发现访问本站有时超出了default的每分钟1000个DNS requests。
下面是部分requests.
btloader.com
beacons5.gvt3.com
beacons4.gvt2.com
...
android.clients.google.com
clients2.google.com
googletagmanager.com
c.amazon-adsystem.com
cadmus.script.ac
1.Open Console in the browser
2. Put below code in the console
3. The code automatically copies the to a txt file named adSlotDebug.txt and downloads it.
window["adSlotDebug"] = [];
googletag.pubads().getSlots().forEach(function(adSlot){
try {
adSlotDebug.push(
{
adUnitPath: adSlot.getAdUnitPath(),
slotElementId: adSlot.getSlotElementId(),
responseInfo: adSlot.getResponseInformation(),
contentUrl: adSlot.getContentUrl(),
adHtml: escape(adSlot.getHtml())
}
);
} catch (e) { console.error(e); }
});
// Convert ad slot information to JSON
const adSlotDebugData = JSON.stringify(window["adSlotDebug"]);
// Create and download the text file
const blob = new Blob([adSlotDebugData], { type: 'text/plain' });
const fileURL = URL.createObjectURL(blob);
const downloadLink = document.createElement('a');
downloadLink.href = fileURL;
downloadLink.download = 'adSlotDebug.txt';
downloadLink.click();
+2.00 积分 [版主 wh 发放的奖励]
#8 Re: 貌似很多DNS requests
我再研究一下再回复。。。admin 写了: 2025年 2月 16日 13:09 谢谢反馈,应该是广告脚本干的,你可以用下面的方法收集日志发到站长信箱 support at newmitbbs,站长会发给广告商让他们查查是不是有问题。
1.Open Console in the browser
2. Put below code in the console
3. The code automatically copies the to a txt file named adSlotDebug.txt and downloads it.
window["adSlotDebug"] = [];
googletag.pubads().getSlots().forEach(function(adSlot){
try {
adSlotDebug.push(
{
adUnitPath: adSlot.getAdUnitPath(),
slotElementId: adSlot.getSlotElementId(),
responseInfo: adSlot.getResponseInformation(),
contentUrl: adSlot.getContentUrl(),
adHtml: escape(adSlot.getHtml())
}
);
} catch (e) { console.error(e); }
});
// Convert ad slot information to JSON
const adSlotDebugData = JSON.stringify(window["adSlotDebug"]);
// Create and download the text file
const blob = new Blob([adSlotDebugData], { type: 'text/plain' });
const fileURL = URL.createObjectURL(blob);
const downloadLink = document.createElement('a');
downloadLink.href = fileURL;
downloadLink.download = 'adSlotDebug.txt';
downloadLink.click();
#12 Re: 貌似很多DNS requests
@admin
貌似不专门是本网站的问题。
刚才试了一下华人。访问首页。37秒内有4200个DNS requests。
www.googletagmanager.com
c.amazon-adsystem.com
btloader.com
cadmus.script.ac
各自1000次。




貌似不专门是本网站的问题。
刚才试了一下华人。访问首页。37秒内有4200个DNS requests。
www.googletagmanager.com
c.amazon-adsystem.com
btloader.com
cadmus.script.ac
各自1000次。