Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
linux_wiki:configure_a_caching-only_name_server [2018/04/10 23:53] billdozor [DNS Caching Server: Unbound] |
linux_wiki:configure_a_caching-only_name_server [2019/05/25 23:50] (current) |
||
---|---|---|---|
Line 14: | Line 14: | ||
* server1.example.com (192.168.1.150) -> Perform all connectivity tests from here | * server1.example.com (192.168.1.150) -> Perform all connectivity tests from here | ||
* server2.example.com (192.168.1.151) -> Install DNS caching here | * server2.example.com (192.168.1.151) -> Install DNS caching here | ||
+ | * ipa.example.com (192.168.1.152) -> DNS Server Here installed with FreeIPA | ||
---- | ---- | ||
Line 21: | Line 22: | ||
Installing and configuring the unbound DNS caching only server. | Installing and configuring the unbound DNS caching only server. | ||
- | * **Advantages**: | + | * **Advantages**: |
- | * **Disadvantage**: | + | * **Disadvantage**: |
\\ | \\ | ||
Line 86: | Line 87: | ||
\\ | \\ | ||
+ | **Client Testing** | ||
+ | |||
server1: Configure a different system to use the DNS caching server | server1: Configure a different system to use the DNS caching server | ||
<code bash> | <code bash> | ||
Line 92: | Line 95: | ||
\\ | \\ | ||
- | server1: Test a DNS lookup | + | server1: Test a ping and DNS lookup |
<code bash> | <code bash> | ||
- | dig server3.example.com | + | ping ipa |
+ | dig ipa.example.com | ||
</ | </ | ||
Line 102: | Line 106: | ||
Installing and configuring the bind DNS caching only server. | Installing and configuring the bind DNS caching only server. | ||
+ | |||
+ | * **Advantages**: | ||
+ | * **Disadvantages**: | ||
\\ | \\ | ||
Line 142: | Line 149: | ||
zone " | zone " | ||
type forward; | type forward; | ||
- | forwarders { 192.168.1.200; }; | + | forwarders { 192.168.1.152; }; |
}; | }; | ||
</ | </ | ||
Line 151: | Line 158: | ||
* " | * " | ||
* type forward; | * type forward; | ||
- | * forwarders { 192.168.1.200; }; -> forward to this DNS entry | + | * forwarders { 192.168.1.152; }; -> forward to this DNS entry |
\\ | \\ | ||
Line 167: | Line 174: | ||
\\ | \\ | ||
- | Test a domain lookup | + | **Client Testing** |
+ | |||
+ | server1: Configure | ||
<code bash> | <code bash> | ||
- | nslookup google.com 127.0.0.1 | + | nmcli con mod eth0 ipv4.dns 192.168.1.151 |
+ | </ | ||
- | OR | + | \\ |
- | + | server1: Test a ping and DNS lookup | |
- | dig @127.0.0.1 google.com | + | <code bash> |
+ | ping ipa | ||
+ | dig ipa.example.com | ||
</ | </ | ||
---- | ---- | ||