networking:dns:unbound:install_unbound
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
networking:dns:unbound:install_unbound [2021/01/29 00:12] – [Networking - DNS - Unbound - Install Unbound] peter | networking:dns:unbound:install_unbound [2021/01/29 00:25] (current) – peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Networking - DNS - Unbound - Install Unbound ====== | ====== Networking - DNS - Unbound - Install Unbound ====== | ||
- | Install the recursive DNS resolver | + | Unbound, a secure open-source |
+ | |||
+ | * Listen for queries on port 53. | ||
+ | * Listen for both UDP and TCP requests. | ||
+ | * Verify DNSSEC signatures, discarding BOGUS domains. | ||
+ | * Apply a few security and privacy tricks. | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Install Unbound ===== | ||
<code bash> | <code bash> | ||
Line 20: | Line 29: | ||
</ | </ | ||
- | * If you do this optional step, you will need to uncomment the **root-hints: | + | * If you do this optional step, you will need to uncomment the **root-hints: |
* This file changes infrequently, | * This file changes infrequently, | ||
</ | </ | ||
- | |||
- | |||
---- | ---- | ||
Line 38: | Line 45: | ||
interface: 127.0.0.1 | interface: 127.0.0.1 | ||
- | port: 5335 | + | port: 53 |
do-ip4: yes | do-ip4: yes | ||
do-udp: yes | do-udp: yes | ||
Line 89: | Line 96: | ||
<WRAP info> | <WRAP info> | ||
- | **NOTE: | + | **NOTE: |
+ | |||
+ | This is the standard DNS port. | ||
+ | |||
+ | However, often port 53 may already be in use, which will prevent Unbound starting up. | ||
+ | |||
+ | * In this case, it may be useful to use an alternative port for unbound, say 5335 and have the other service point to the Unbound service running on this alternative port 5335. | ||
+ | * Alternatively, | ||
If the **root-hints** file was installed separately in the previous step, then uncomment the **root-hints: | If the **root-hints** file was installed separately in the previous step, then uncomment the **root-hints: |
networking/dns/unbound/install_unbound.1611879125.txt.gz · Last modified: 2021/01/29 00:12 by peter