Updated Whitelisting and Blacklisting (markdown)

Adam Warner 2016-04-27 16:42:47 +01:00
parent bcb7b4c5eb
commit f97818ee25

@ -1,5 +1,3 @@
****[ This page will be updated to reflect the new system introduced in Pi-Hole 2.6.x, will be updated soon, more info on the new system [here](https://github.com/pi-hole/pi-hole/wiki/The-%22pihole%22-Command) ]****
###What to Whitelist or Blacklist
[this extension for chrome](https://chrome.google.com/webstore/detail/whitelist-assistant-by-dn/fdmpekabnlekabjlimjkfmdjajnddgpc) can help you in finding out which domains you need to whitelist.
@ -46,15 +44,15 @@ Domains passed are parsed by the script to ensure they are valid domains. If a d
<table>
<tbody>
<tr>
<th><code>whitelist.sh domain1 [domain2...]</code></th>
<th><code>pihole -w domain1 [domain2...]</code></th>
<td>Attempt to add one or more domains to the whitelist and reload dnsmasq.</td>
</tr>
<tr>
<th><code>whitelist.sh -nr domain1 [domain2...]</code></th>
<th><code>pihole -w -nr domain1 [domain2...]</code></th>
<td>Attempt to add one or more domains to the whitelist, but do not reload dnsmasq.</td>
</tr>
<tr>
<th><code>whitelist.sh -f domain1 [domain2...]</code></th>
<th><code>pihole -w -f domain1 [domain2...]</code></th>
<td>Attempt to add one or more domains to the whitelist and force dnsmasq to reload</td>
</tr>
</tbody>
@ -67,15 +65,15 @@ Add `-d` as an additional argument (e.g `pihole -w -d domain1 [domain2...]`)
<table>
<tbody>
<tr>
<th><code>blacklist.sh domain1 [domain2...]</code></th>
<th><code>pihole -b domain1 [domain2...]</code></th>
<td>Attempt to add one or more domains to the blacklist and reload dnsmasq.</td>
</tr>
<tr>
<th><code>blacklist.sh -nr domain1 [domain2...]</code></th>
<th><code>pihole -b -nr domain1 [domain2...]</code></th>
<td>Attempt to add one or more domains to the blacklist, but do not reload dnsmasq.</td>
</tr>
<tr>
<th><code>blacklist.sh -f domain1 [domain2...]</code></th>
<th><code>pihole -b -f domain1 [domain2...]</code></th>
<td>Attempt to add one or more domains to the blacklist and force dnsmasq to reload</td>
</tr>
</tbody>