diff --git a/README.md b/README.md
index aac1b38..636c332 100644
--- a/README.md
+++ b/README.md
@@ -11,54 +11,62 @@ The Pi-hole[®](https://pi-hole.net/trademark-rules-and-brand-guidelines/) is a
This repo is the source for the official [Pi-hole documentation](https://docs.pi-hole.net/).
### How to contribute.
+
To add a new link on the navigation panel you need to edit the `mkdocs.yml` file in the root of the repo. There is a guide for building the navbar [on the mkdocs wiki](https://www.mkdocs.org/user-guide/configuration/#nav)
To add a new document or guide.
- Navigate to the directory where it will be hosted.
- EG. guides are in `docs/guides`
+ EG. guides are in `docs/guides`
- Create the file using a URL friendly filename.
- EG. `docs/guides/url-friendly.md`
+ EG. `docs/guides/url-friendly.md`
- Edit your document using Markdown, there are loads of resources available for the correct syntax.
-
### Testing your changes.
+
Whilst working on this repo, it is advised that you review your own changes locally before committing them. The `mkdocs serve` command can be used to live preview your changes (as you type) on your local machine.
Please make sure you fork the repo and change the clone URL in the example below for your fork:
- Linux Mint / Ubuntu instructions (tested on Linux Mint 18):
- - Preparations (only required once):
- ```bash
- git clone https://github.com/YOUR-USERNAME/docs
- cd docs
- sudo pip install mkdocs
- sudo pip install mkdocs-material markdown-include
- ```
- - Running the docs server:
- ```bash
- mkdocs serve --dev-addr 0.0.0.0:8000
- ```
+ - Preparations (only required once):
+
+ ```bash
+ git clone https://github.com/YOUR-USERNAME/docs
+ cd docs
+ sudo pip install mkdocs
+ sudo pip install mkdocs-material markdown-include
+ ```
+
+ - Running the docs server:
+
+ ```bash
+ mkdocs serve --dev-addr 0.0.0.0:8000
+ ```
- Fedora Linux instructions (tested on Fedora Linux 28):
- - Preparations (only required once):
- ```bash
- git clone https://github.com/YOUR-USERNAME/docs
- cd docs
- pip install mkdocs --user
- pip install mkdocs-material markdown-include --user
- ```
- - Running the docs server:
- ```bash
- mkdocs serve --dev-addr 0.0.0.0:8000
- ```
+ - Preparations (only required once):
+
+ ```bash
+ git clone https://github.com/YOUR-USERNAME/docs
+ cd docs
+ pip install mkdocs --user
+ pip install mkdocs-material markdown-include --user
+ ```
+
+ - Running the docs server:
+
+ ```bash
+ mkdocs serve --dev-addr 0.0.0.0:8000
+ ```
- Docker instructions:
- - One-shot run:
- ```bash
- docker run -v `pwd`:/opt/app/ -w /opt/app/ -p 8000:8000 -it python:2-alpine \
- sh -c "pip install --user mkdocs mkdocs-material markdown-include && \
- /root/.local/bin/mkdocs serve --dev-addr 0.0.0.0:8000"
- ```
+ - One-shot run:
+
+ ```bash
+ docker run -v `pwd`:/opt/app/ -w /opt/app/ -p 8000:8000 -it python:2-alpine \
+ sh -c "pip install --user mkdocs mkdocs-material markdown-include && \
+ /root/.local/bin/mkdocs serve --dev-addr 0.0.0.0:8000"
+ ```
After these commands, the current branch is accessible through your favorite browser at http://localhost:8000
diff --git a/docs/core/pihole-command.md b/docs/core/pihole-command.md
index 06844d1..79b4de1 100644
--- a/docs/core/pihole-command.md
+++ b/docs/core/pihole-command.md
@@ -1,4 +1,6 @@
+---
title: The pihole command - Pi-hole documentation
+---
Pi-hole makes use of many commands, and here we will break down those required to administer the program via the Command Line Interface.
@@ -33,6 +35,7 @@ Pi-hole makes use of many commands, and here we will break down those required t
[Checkout](#checkout) | `pihole checkout`
### Core Script
+
| | |
-------------- | --------------
Help Command | `pihole --help`
@@ -42,6 +45,7 @@ Example Usage | `pihole -b advertiser.example.com`
The core script of Pi-hole provides the ability to tie many DNS related functions into a simple and user friendly management system, so that one may easily block unwanted content such as advertisements. For both the Command Line Interface (CLI) and Web Interface, we achieve this through the `pihole` command (this helps minimise code duplication, and allows users to read exactly what's happening using `bash` scripting). This "wrapper" elevates the current user (whether it be your own user account, or `www-data`) using `sudo`, but restricts the elevation to solely what can be called through the wrapper.
### Whitelisting, Blacklisting and Regex
+
| | |
-------------- | --------------
Help Command | `pihole -w --help`, `pihole -b --help`, `pihole -regex --help`, `pihole -wild --help`
@@ -57,12 +61,13 @@ See [Regex Blocking](/ftldns/regex/overview/) for more information about using R
* Each domain is validated using regex (except when using `-regex`), to ensure invalid domains and IDNs are not added
* A whitelisted domain gets added or removed from `/etc/pihole/whitelist.txt`
* A blacklisted domain gets added or removed from `/etc/pihole/blacklist.txt`
- * On either list type, `gravity.sh` is then called to consolidate an updated copy of `gravity.list`, and the DNS server is reloaded
+ * On either list type, `gravity.sh` is then called to consolidate an updated copy of `gravity.list`, and the DNS server is reloaded
* A regex blacklisted domain gets added or removed from `/etc/pihole/regex.list`
* A wildcard domain gets converted into regex and added or removed from `/etc/pihole/regex.list`
- * For both regex-based commands, `gravity.sh` is then called to restart the DNS server
+ * For both regex-based commands, `gravity.sh` is then called to restart the DNS server
### Debugger
+
| | |
-------------- | --------------
Help Command | N/A
@@ -72,6 +77,7 @@ Example Usage | [`pihole debug`](https://discourse.pi-hole.net/t/the-pihole-co
The Pi-hole debugger will attempt to diagnose any issues, and link to an FAQ with instructions as to how an admin can rectify the issue. Once the debugger has finished, the admin has the option to upload the generated log to the [Pi-hole developers](https://github.com/orgs/pi-hole/teams/debug/members), who can help with diagnosing and rectifying persistent issues.
### Log Flush
+
| | |
-------------- | --------------
Help Command | N/A
@@ -81,6 +87,7 @@ Example Usage | [`pihole flush`](https://discourse.pi-hole.net/t/the-pihole-co
When invoked manually, this command will allow you to empty Pi-hole's log, which is located at `/var/log/pihole.log`. The command also serves to rotate the log daily, if the `logrotate` application is installed.
### Reconfigure
+
| | |
-------------- | --------------
Help Command | N/A
@@ -92,11 +99,12 @@ There are times where the administrator will need to repair or reconfigure the P
**Basic Script Process**:
* [`basic-install.sh`](https://github.com/pi-hole/pi-hole/blob/master/automated%20install/basic-install.sh) will be run
- * **Reconfigure** will run through the first-time installation prompts, asking for upstream DNS provider, IP protocols, etc
- * **Repair** will retain your existing settings, and will attempt to repair any scripts or dependencies as necessary
+ * **Reconfigure** will run through the first-time installation prompts, asking for upstream DNS provider, IP protocols, etc
+ * **Repair** will retain your existing settings, and will attempt to repair any scripts or dependencies as necessary
* The rest of `basic-install.sh` will then run as appropriate
### Tail
+
| | |
-------------- | --------------
Help Command | N/A
@@ -106,6 +114,7 @@ Example Usage | [`pihole tail`](https://discourse.pi-hole.net/t/the-pihole-com
Since Pi-hole will log DNS queries by default, using this command to watch the log in real-time can be useful for debugging a problematic site, or even just for sheer curiosities sake.
### Admin
+
| | |
-------------- | --------------
Help Command | `pihole -a --help`
@@ -115,6 +124,7 @@ Example Usage | `pihole -a -p secretpassword`
Detailed information on this is [found here](#web-script).
### Chronometer
+
| | |
-------------- | --------------
Help Command | `pihole -c --help`
@@ -127,6 +137,7 @@ Chronometer is a console dashboard of real-time stats, which can be displayed vi
Image courtesy of /u/super_nicktendo22
### Gravity
+
| | |
-------------- | --------------
Help Command | N/A
@@ -140,7 +151,7 @@ Gravity is one of the most important scripts of Pi-hole. Its main purpose is to
* It will determine Internet connectivity, and give time for `dnsmasq` to be resolvable on low-end systems if has just been restarted
* It extracts all URLs and domains from `/etc/pihole/adlists.list`
* It runs through each URL, downloading it if necessary
- * `curl` checks the servers `Last-Modified` header to ensure it is getting a newer version
+ * `curl` checks the servers `Last-Modified` header to ensure it is getting a newer version
* It will attempt to parse the file into a domains-only format if necessary
* Lists are merged, comments removed, sorted uniquely and stored as `list.preEventHorizon`
* Whitelisted entries within `/etc/pihole/whitelist.txt` are removed from `list.preEventHorizon` and saved into a temporary file
@@ -148,19 +159,21 @@ Gravity is one of the most important scripts of Pi-hole. Its main purpose is to
* Gravity cleans up temporary content and reloads the DNS server
### Logging
+
| | |
-------------- | --------------
Help Command | `pihole logging --help`
-Script Location | [`/usr/local/bin/pihole`](https://github.com/pi-hole/pi-hole/blob/master/pihole)
+Script Location | [`/usr/local/bin/pihole`](https://github.com/pi-hole/pi-hole/blob/master/pihole)
Example Usage | [`pihole logging off`](https://discourse.pi-hole.net/t/the-pihole-command-with-examples/738#logging)
This command specifies whether the Pi-hole log should be used, by commenting out `log-queries` within `/etc/dnsmasq.d/01-pihole.conf` and flushing the log.
-
+
### Query
+
| | |
--------------- | ---------------
Help Command | `pihole query --help`
-Script Location | [`/usr/local/bin/pihole`](https://github.com/pi-hole/pi-hole/blob/master/pihole)
+Script Location | [`/usr/local/bin/pihole`](https://github.com/pi-hole/pi-hole/blob/master/pihole)
Example Usage | [`pihole -q -exact -adlist example.domain.com`](https://discourse.pi-hole.net/t/the-pihole-command-with-examples/738#adlist-query)
This command will query your whitelist, blacklist, wildcards and adlists for a specified domain.
@@ -175,6 +188,7 @@ This command will query your whitelist, blacklist, wildcards and adlists for a s
* Output is determined by the specified options, ensuring that a file name is only printed once
### Update
+
| | |
-------------- | --------------
Help Command | `pihole update`
@@ -190,6 +204,7 @@ Check Pi-hole Core, Web Interface and FTL repositories to determine what upgrade
* [`basic-install.sh`](https://github.com/pi-hole/pi-hole/blob/master/automated%20install/basic-install.sh) is run
### Version
+
| | |
--------------- | ---------------
Help Command | `pihole version`
@@ -199,6 +214,7 @@ Example Usage | `pihole -v -c`
Shows installed versions of Pi-hole, Web Interface & FTL. Also provides options to configure which details will be printed, such as current version, latest version, hash and subsystem.
### Uninstall
+
| | |
-------------- | --------------
Help Command | N/A
@@ -208,6 +224,7 @@ Example Usage | [`pihole uninstall`](https://discourse.pi-hole.net/t/the-pihol
Uninstall Pi-hole from your system, giving the option to remove each dependency individually.
### Status
+
| | |
-------------- | --------------
Help Command | N/A
@@ -217,6 +234,7 @@ Example Usage | [`pihole status`](https://discourse.pi-hole.net/t/the-pihole-c
Display the running status of Pi-hole's DNS and blocking services.
### Enable & Disable
+
| | |
-------------- | --------------
Help Command | `pihole disable --help`
@@ -226,6 +244,7 @@ Example Usage | [`pihole disable 5m`](https://discourse.pi-hole.net/t/the-piho
Toggle Pi-hole's ability to block unwanted domains. The disable option has the option to set a specified time before blocking is automatically re-enabled.
### Restart DNS
+
| | |
-------------- | --------------
Help Command | N/A
@@ -235,10 +254,11 @@ Example Usage | [`pihole restartdns`](https://discourse.pi-hole.net/t/the-piho
Restart Pi-hole's DNS service.
### Checkout
+
| | |
-------------- | --------------
Help Command | `pihole checkout --help`
-Script Location | [`/opt/pihole/piholeCheckout.sh`](https://github.com/pi-hole/pi-hole/blob/master/advanced/Scripts/piholeCheckout.sh)
+Script Location | [`/opt/pihole/piholeCheckout.sh`](https://github.com/pi-hole/pi-hole/blob/master/advanced/Scripts/piholeCheckout.sh)
Example Usage | [`pihole checkout dev`](https://discourse.pi-hole.net/t/the-pihole-command-with-examples/738#checkout)
Switch Pi-hole subsystems to a different GitHub branch. An admin can specify repositories as well as branches.
@@ -257,6 +277,7 @@ Switch Pi-hole subsystems to a different GitHub branch. An admin can specify rep
[Interface](#interface) | `pihole -a interface`
### Web Script
+
| | |
-------------- | --------------
Help Command | `pihole -a --help`
@@ -266,6 +287,7 @@ Example Usage | `pihole -a -p secretpassword`
Set options for the Web Interface. This script is used to tie in all Web Interface features which are not already covered by the [Core Script](#core-script).
### Password
+
| | |
-------------- | --------------
Help Command | N/A
@@ -275,6 +297,7 @@ Example Usage | [`pihole -a -p secretpassword`](https://discourse.pi-hole.net/
Set Web Interface password. Password can be entered as an option (e.g: `pihole -a -p secretpassword`), or separately as to not display on screen (e.g: `pihole -a -p`).
### Temperature Unit
+
| | |
-------------- | --------------
Help Command | N/A
@@ -284,6 +307,7 @@ Example Usage | [`pihole -a -c`](https://discourse.pi-hole.net/t/the-pihole-co
Set specified temperature unit as preferred type. This preference will affect the Web Interface, as well as Chronometer.
### Host Record
+
| | |
-------------- | --------------
Help Command | `pihole -a hostrecord --help`
@@ -293,6 +317,7 @@ Example Usage | `pihole -a hostrecord home.domain.com 192.168.1.1`
Add A & AAAA records to the DNS, to be associated with an IPv4/IPv6 address.
### Email Address
+
| | |
-------------- | --------------
Help Command | N/A
@@ -302,6 +327,7 @@ Example Usage | `pihole -a email admin@domain.com`
Set an administrative contact address for the Block Page. This will create a hyperlink on the Block Page to the specified email address.
### Interface
+
| | |
-------------- | --------------
Help Command | `pihole -a interface --help`
diff --git a/docs/ftldns/blockingmode.md b/docs/ftldns/blockingmode.md
index 2bdb558..1952306 100644
--- a/docs/ftldns/blockingmode.md
+++ b/docs/ftldns/blockingmode.md
@@ -3,12 +3,15 @@ Pi-hole *FTL*DNS supports two different methods for blocking queries. Both have
This setting can be updated by sending `SIGHUP` to `pihole-FTL` (`sudo killall -SIGHUP pihole-FTL`).
## Pi-hole's unspecified IP blocking (default)
+
`/etc/pihole/pihole-FTL.conf` setting:
+
```
BLOCKINGMODE=NULL
```
Blocked queries will be answered with the unspecified address
+
```
;; QUESTION SECTION:
;doubleclick.net. IN ANY
@@ -23,22 +26,26 @@ doubleclick.net. 2 IN AAAA ::
Following [RFC 3513, Internet Protocol Version 6 (IPv6) Addressing Architecture, section 2.5.2](https://tools.ietf.org/html/rfc3513#section-2.5.2), the address `0:0:0:0:0:0:0:0` (or `::` for short) is the unspecified address. It must never be assigned to any node and indicates the absence of an address. Following [RFC1122, section 3.2](https://tools.ietf.org/html/rfc1122#section-3.2), the address `0.0.0.0` can be understood as the IPv4 equivalent of `::`.
##### Advantages
+
- The client does not even try to establish a connection for the requested website
- Speedup and less traffic
- Solves potential HTTPS timeouts as requests are never performed
- No need to run a webserver on your Pi-hole (reduces complexity when running other web services on the same machine)
##### Disadvantage
+
- Blocking page cannot be shown and whitelisting has to be performed from the dashboard or CLI
-
## Pi-hole's IP (IPv6 NODATA) blocking
+
`/etc/pihole/pihole-FTL.conf` setting:
+
```
BLOCKINGMODE=IP-NODATA-AAAA
```
Blocked queries will be answered with the local IPv4 addresses of your Pi-hole (as configured in your `setupVars.conf` file). Blocked AAAA queries will answered with `NODATA-IPV6` and clients will only try to reach your Pi-hole over its static IPv4 address
+
```
;; QUESTION SECTION:
;doubleclick.net. IN ANY
@@ -48,21 +55,25 @@ doubleclick.net. 2 IN A 192.168.2.11
```
##### Advantage
+
- Shows blocking page from which blocked domains can be whitelisted
- Serves IPv4-only replies and hence mitigates issues with rotating IPv6 prefixes
##### Disadvantages
+
- Requires a webserver to run on your Pi-hole
- May cause time-outs for HTTPS content even with properly configured firewall rules
-
## Pi-hole's full IP blocking
+
`/etc/pihole/pihole-FTL.conf` setting:
+
```
BLOCKINGMODE=IP
```
Blocked queries will be answered with the local IP addresses of your Pi-hole (as configured in your `setupVars.conf` file)
+
```
;; QUESTION SECTION:
;doubleclick.net. IN ANY
@@ -71,41 +82,53 @@ Blocked queries will be answered with the local IP addresses of your Pi-hole (as
doubleclick.net. 2 IN A 192.168.2.11
doubleclick.net. 2 IN AAAA fda2:2001:4756:0:ab27:beff:ef37:4242
```
+
##### Advantage
+
- Shows blocking page from which blocked domains can be whitelisted
##### Disadvantages
+
- Requires a webserver to run on your Pi-hole
- May cause time-outs for HTTPS content even with properly configured firewall rules
- May cause problems with alternating prefixes on IPv6 addresses (see `IP-AAAA-NODATA`)
-
## Pi-hole's NXDOMAIN blocking
+
`/etc/pihole/pihole-FTL.conf` setting:
+
```
BLOCKINGMODE=NXDOMAIN
```
+
Blocked queries will be answered with an empty response (no answer section) and status `NXDOMAIN` (*no such domain*)
+
```
;; QUESTION SECTION:
;doubleclick.net. IN ANY
```
##### Advantages & Disadvantages
+
Similar to `NULL` blocking, but experiments suggest that clients may try to resolve blocked domains more often compared to `NULL` blocking.
## Pi-hole's NODATA blocking
+
`/etc/pihole/pihole-FTL.conf` setting:
+
```
BLOCKINGMODE=NODATA
```
+
Blocked queries will be answered with an empty response (no answer section) and status `NODATA` (domain exists but there is no record for the requested query type)
+
```
;; QUESTION SECTION:
;doubleclick.net. IN ANY
```
##### Advantages & Disadvantages
+
Similar to `NXDOMAIN` blocking. Clients might have a better acceptance of `NODATA` replies compared to `NXDOMAIN` replies.
{!abbreviations.md!}
diff --git a/docs/ftldns/compile.md b/docs/ftldns/compile.md
index 197d47c..1f59cb6 100644
--- a/docs/ftldns/compile.md
+++ b/docs/ftldns/compile.md
@@ -1,13 +1,18 @@
We pre-compile *FTL*DNS for you to save you the trouble of compiling anything yourself. However, sometimes you may want to make your own modifications. To test them, you have to compile *FTL*DNS from source. Luckily, you don't have to be a programmer to build *FTL*DNS from source and install it on your system; you only have to know the basics we provide in here. With just a few commands, you can build *FTL*DNS from source like a pro.
#### Installing the Required Software
+
First, we'll install the basic software you'll need to compile from source, like the GCC compiler and other utilities.
Install them by running the following command in a terminal:
+
###### Debian / Ubuntu / Raspbian
+
```bash
sudo apt install build-essential libgmp-dev m4
```
+
###### Fedora
+
```bash
sudo dnf install gcc gmp-devel gmp-static m4
```
@@ -15,7 +20,8 @@ sudo dnf install gcc gmp-devel gmp-static m4
---
You'll also need to compile `nettle` as *FTL*DNS uses `libnettle` for handling DNSSEC. Compile and install a recent version of `nettle` (we tested 3.4):
-```
+
+```bash
wget https://ftp.gnu.org/gnu/nettle/nettle-3.4.tar.gz
tar -xvzf nettle-3.4.tar.gz
cd nettle-3.4
@@ -25,8 +31,10 @@ sudo make install
```
#### Get the *FTL*DNS source
+
Now, clone the *FTL*DNS repo (or your own fork) to get the source code of *FTL*DNS:
-```
+
+```bash
git clone https://github.com/pi-hole/FTL.git
cd FTL
```
@@ -34,13 +42,15 @@ cd FTL
If you want to build another branch and not `master`, use checkout to get to this branch (e.g. `git checkout development`).
*FTL*DNS can now be compiled and installed:
-```
+
+```bash
make -j 4
sudo make install
```
Finally, restart *FTL*DNS to use the new binary:
-```
+
+```bash
sudo service pihole-FTL restart
```
diff --git a/docs/ftldns/configfile.md b/docs/ftldns/configfile.md
index 05cc309..8618532 100755
--- a/docs/ftldns/configfile.md
+++ b/docs/ftldns/configfile.md
@@ -1,131 +1,211 @@
You can create a file `/etc/pihole/pihole-FTL.conf` that will be read by *FTL*DNS on startup.
Possible settings (**the option shown first is the default**):
+
### DNS settings
#### `BLOCKINGMODE=NULL|IP-NODATA-AAAA|IP|NXDOMAIN` {#blocking_mode data-toc-label='Blocking Mode'}
+
How should `FTL` reply to blocked queries?
**[More details](blockingmode.md)**
### Statistics settings
#### `MAXLOGAGE=24.0` {#maxlogage data-toc-label='Max Log Age'}
- Up to how many hours of queries should be imported from the database and logs? Maximum is 24.0
-
[domain]-d-nrpihole -w domain1 [domain2...] |
Attempt to add one or more domains to the whitelist and reload dnsmasq. | -||||||
|---|---|---|---|---|---|---|---|
pihole -w -nr domain1 [domain2...] |
Attempt to add one or more domains to the whitelist, but do not reload dnsmasq. | -||||||
pihole -w -f domain1 [domain2...] |
Attempt to add one or more domains to the whitelist and force dnsmasq to reload | @@ -61,19 +59,18 @@ Domains passed are parsed by the script to ensure they are valid domains. If a d To remove domains from the whitelist: Add `-d` as an additional argument (e.g `pihole -w -d domain1 [domain2...]`) - -##### Example `pihole -b` usages +#### Example `pihole -b` usages
pihole -b domain1 [domain2...] |
Attempt to add one or more domains to the blacklist and reload dnsmasq. | -
|---|---|
pihole -b -nr domain1 [domain2...] |
Attempt to add one or more domains to the blacklist, but do not reload dnsmasq. | -
pihole -b -f domain1 [domain2...] |
Attempt to add one or more domains to the blacklist and force dnsmasq to reload | @@ -82,4 +79,4 @@ Add `-d` as an additional argument (e.g `pihole -w -d domain1 [domain2...]`)

Network-wide ad blocking via your own Linux hardware
@@ -24,17 +25,20 @@ The Pi-hole[®](https://pi-hole.net/trademark-rules-and-brand-guidelines/) is a
-----
## Pi-hole is free, but powered by your support
+
There are many reoccurring costs involved with maintaining free, open source, and privacy respecting software; expenses which [our volunteer developers](https://github.com/orgs/pi-hole/people) pitch in to cover out-of-pocket. This is just one example of how strongly we feel about our software, as well as the importance of keeping it maintained.
Make no mistake: **your support is absolutely vital to help keep us innovating!**
### Donations
+
Sending a donation using our links below is **extremely helpful** in offsetting a portion of our monthly expenses:
-- Donate via PayPal or Stripe
+- [Donate via PayPal or Stripe](https://pi-hole.net/donate/)
- [Bitcoin, Bitcoin Cash, Ethereum, Litecoin](https://commerce.coinbase.com/checkout/dd304d04-f324-4a77-931b-0db61c77a41b)
### Alternative support
+
If you'd rather not donate (_which is okay!_), there are other ways you can help support us:
- [Pi-hole Swag Store](https://pi-hole.net/shop/)
@@ -44,6 +48,7 @@ If you'd rather not donate (_which is okay!_), there are other ways you can help
- Spreading the word about our software, and how you have benefited from it
### Contributing via GitHub
+
We welcome _everyone_ to contribute to issue reports, suggest new features, and create pull requests.
If you have something to add - anything from a typo through to a whole new feature, we're happy to check it out! Just make sure to fill out our template when submitting your request; the questions that it asks will help the volunteers quickly understand what you're aiming to achieve.
diff --git a/docs/main/basic-install.md b/docs/main/basic-install.md
index 6ebed49..c68a7d1 100644
--- a/docs/main/basic-install.md
+++ b/docs/main/basic-install.md
@@ -1,7 +1,8 @@
## One-Step Automated Install
+
Those who want to get started quickly and conveniently, may install Pi-hole using the following command:
-```BASH
+```bash
curl -sSL https://install.pi-hole.net | bash
```
@@ -11,14 +12,16 @@ curl -sSL https://install.pi-hole.net | bash
If you would prefer to review the code before installation, we provide these alternative installation methods.
#### Alternative 1: Clone our repository and run
-```BASH
+
+```bash
git clone --depth 1 https://github.com/pi-hole/pi-hole.git Pi-hole
cd "Pi-hole/automated install/"
sudo bash basic-install.sh
```
#### Alternative 2: Manually download the installer and run
-```BASH
+
+```bash
wget -O basic-install.sh https://install.pi-hole.net
sudo bash basic-install.sh
```
diff --git a/docs/main/contact.md b/docs/main/contact.md
index 368def6..8c201ca 100755
--- a/docs/main/contact.md
+++ b/docs/main/contact.md
@@ -4,9 +4,7 @@ description: Pi-hole contacts and social media
last_updated: Sun Jan 13 18:33:27 2019 UTC
---
-
-
-While we are primarily reachable on our Discourse User Forum, we can also be found on a variety of social media outlets. **Please be sure to check the FAQ's** before starting a new discussion, as we do not have the spare time to reply to every request for assistance.
+While we are primarily reachable on our [Discourse User Forum](https://discourse.pi-hole.net/), we can also be found on a variety of social media outlets. **Please be sure to check the FAQ's** before starting a new discussion, as we do not have the spare time to reply to every request for assistance.
- [Frequently Asked Questions](https://discourse.pi-hole.net/c/faqs)
- [Feature Requests](https://discourse.pi-hole.net/c/feature-requests?order=votes)
@@ -17,4 +15,4 @@ While we are primarily reachable on our