Pi-hole continues to block a whitelist site

v3-3
whitelisting
#1

pi-hole works perfect on my debian server.
The whitelist works perfectly like all the other rules, I have a problem only with a specific site.

I have a site hosted internally on my network and visible on the internet by visiting the IP address or the RecordA domain directly.

This is the source code of my page:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta name="viewport" content = "width = 420, user-scalable = no" /> 
	<meta name="apple-mobile-web-app-capable" content="yes">
	<title>Temperature Monitor</title>
	<script type="text/javascript" src="/webiopi.js"></script>
	<script type="text/javascript">
	webiopi().ready(function() {
		$.get("/devices/*", function(data) {
			var content = $("#content");
			for (i in data) {
				if (data[i].type != "Serial") {
					for (t in data[i].type) {
						var device = webiopi().newDevice(data[i].type[t], data[i].name);
						if (device) {
							device.element = $("<div>");
							content.append(device.element);
							device.refreshUI();
						}
					}
				}
			}
		});
	});
	</script>
	<style type="text/css">
	button, .FunctionBasic {
		width: 50px;
	}
	</style>
</head>
<body>


<a href="http://www.wunderground.com/weatherstation/WXDailyHistory.asp?ID=ILOMBARD229"><img src="http://banners.wunderground.com/cgi-bin/banner/ban/wxBanner?bannertype=pws250_metric&weatherstationcount=ILOMBARD229" width="250" height="150" border="0" alt="Weather Underground PWS ILOMBARD229" /></a> 


<div id="content">
</div>

</body>

</html>

This is the part code that is filtered by pi-hole:
<a href="http://www.wunderground.com/weatherstation/WXDailyHistory.asp?ID=ILOMBARD229"><img src="http://banners.wunderground.com/cgi-bin/banner/ban/wxBanner?bannertype=pws250_metric&weatherstationcount=ILOMBARD229" width="250" height="150" border="0" alt="Weather Underground PWS ILOMBARD229" /></a>

I have whitelisted:
wunderground.com
my Domain RecordA

But nothing worked, I can not see that banner showing the temperature.
I also tried to connect directly via IP address, but it does not change anything, it does not open the banner.
Of course if Disable temporarily the pi-hole, the banner returns to be correctly visible.

What can I do?
It is a personal website that I use the se the internal room temp, external temp through wunderground.com

0 Likes

#2
0 Likes

#3

I found out where the problem is, if I put the wunderground.com domain in whitelist it’s not enough to cover all the wunderground.com subdomains too.
After I’ve whitelisted the domain banners.wunderground.com the whitelist now works correctly and I see my weather banner correctly.

1 Like

closed #4

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

0 Likes