From e800546600710ff2317cbbb6eb3c9075342bcbae Mon Sep 17 00:00:00 2001 From: Dan Schaper Date: Sun, 10 Mar 2019 10:13:51 -0700 Subject: [PATCH] Updated FAQs (markdown) --- FAQs.md | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/FAQs.md b/FAQs.md index 48c7cee..48f42c2 100644 --- a/FAQs.md +++ b/FAQs.md @@ -7,7 +7,6 @@ Many frequently Asked Questions (and their answers) can be found at our [Discour - [Windows thinks there is no internet connection, but there is one.](./FAQs#windows-thinks-there-is-no-internet-connection-but-there-is-one-315) - [The Admin page stats take a long time to load (or times out)](./FAQs#the-admin-page-stats-take-a-long-time-to-load-or-times-out-341) - [FireFox displays 'Unable to connect' instead of blocking the ad](./FAQs#firefox-displays-unable-to-connect-instead-of-blocking-the-ad-303) -- [Can I redirect a domain to a different domain?](./FAQs#can-i-redirect-a-domain-to-a-different-domain-333) ### Can I blacklist wildcard domains? [#672](../issues/672) This has been implemented as a native feature. You can use the web interface (blacklist page), or the command `pihole -wild ` @@ -33,24 +32,4 @@ There is also a useful registry setting on [this microsoft page](https://answers The stats can take a little while to process, and this is just because it's being run on a low-power device! If you have something running on the pi that uses a lot of processing power, the stat calculations could take longer than usual. To fix the stats from timing out, edit `/etc/php5/cgi/php.ini`, increase `max_execution_time` and restart the `lighttpd` service. ### FireFox displays 'Unable to connect' instead of blocking the ad [#303](https://github.com/pi-hole/pi-hole/issues/303) -Certain ad networks use iFrames in order to display their ads. Depending on your adlist selection the pi-hole can block these ads, however in FireFox there is an error displayed (instead of a whitespace). This can make it look like something broke. To fix this you can use a FireFox extension called uBlock, which can be used to hide those elements. You can find this extension on the [uBlock github page](https://github.com/gorhill/uBlock) - -### Can I redirect a domain to a different domain? [#333](https://github.com/pi-hole/pi-hole/issues/333) -If you want to redirect traffic from `www.exampledomain1.com` to `www.differentdomain.com` that is possible. There are a few things you need to do to get this working. -* First you need to create 2 files using the `touch` command: -``` -sudo touch /etc/dnsmasq.d/customRedirect.conf -sudo touch /etc/customRedirect.list -``` -* In `/etc/dnsmasq.d/customRedirect.conf` you'll need to ad the following reference (using nano for example) to the other file: -``` -addn-hosts=/etc/customRedirect.list -``` -* Next, you can put the actual redirect in `/etc/customRedirect.list`, in this example these 2 lines: -``` -www.exampledomain1.com www.differentdomain.com -exampledomain1.com differentdomain.com -``` -* This would redirect exampledomain1.com to differentdomain.com. The actual markup is -`domain/ip address-redirect-from-domain redirect-to-domain` -* Please note, if the domain you are trying to redirect elsewhere is already in pi-hole's blacklist, it is going to be duplicated there, run `whitelist.sh ` so that it is ignored by pi-hole, and is instead picked up by `customRedirect.list` +Certain ad networks use iFrames in order to display their ads. Depending on your adlist selection the pi-hole can block these ads, however in FireFox there is an error displayed (instead of a whitespace). This can make it look like something broke. To fix this you can use a FireFox extension called uBlock, which can be used to hide those elements. You can find this extension on the [uBlock github page](https://github.com/gorhill/uBlock) \ No newline at end of file