Replies: 1 comment 4 replies
|
Thanks for the post and compliments.
It depends on how the iframe is loaded. When the DNS resolution fails, the browser may show some default error page inside the iframe. If you have configured Block Page app then there will be SSL error displayed inside the iframe. There is pretty much nothing that can be done about it since the blocking is being done at the DNS level and the DNS server does not know what page/URL you are visiting.
If you install the Block Page app and have the root cert it generates installed on your client system then the SSL error will go away and the block page app's html content will show up inside the iframe. The Block Page app essentially will do SSL MiTM attack and since you have the root cert installed, the web browser will trust the connection. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Greetings,
I just installed Technitium DNS Server 15.4, and like it, thanks!, and I would really appreciate a clarification about what I see in the browser instead of ads when Technitium is running, to know what am I missing, and if I I got certan thing right or not.
Question 1: why, exactly, certain ads are replaced with blank spaces, and others with error messages like the one pasted at the bottom?? I guess that ads that just disappear were clickable images, and those that generate messages like below are iframes instead. Am I right?
Question 2: if I am right, would it be possible to replace even THOSE ads with blank boxes? I fear not, because that could only happen with some other server that either a) replaces those iframes with other HTML BEFORE the browser reads it, or b) is a proxy between the browser and the internet that does the replacement every time a browser requests certain domain names. Again, am I right here, and if I am wrong, is there a way to make even those iframes look blank?
EDIT:
I just found out now (of course) this comment on the technitium blog that seems to me a confirmation my hypothesis in Question 1 about iframes is correct:
Technically you can return any IP address from the DNS server instead of 0.0.0.0 for blocked domain names but, practically it wont work.
This is since most websites nowadays are served over HTTPS and thus you wont be able to show custom error message for most websites. If you implement it then users will mostly see SSL certificate error notices instead of your custom error page.
Secondly most blocked items are Ads that are loaded using iframes and that space will too show SSL errors and create a mess.
Again, confirmation is welcome!
Thanks in advance!!!
Example of the messages I would like to NOT see, but replace with blank area instead:
All reactions