linux_wiki:configure_a_caching-only_name_server

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
linux_wiki:configure_a_caching-only_name_server [2018/04/10 23:55]
billdozor [DNS Caching Server: Unbound]
linux_wiki:configure_a_caching-only_name_server [2018/05/19 14:10]
billdozor [DNS Caching Server: Bind]
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 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 145: Line 148:
 zone "example.com" IN { zone "example.com" IN {
   type forward;   type forward;
-  forwarders { 192.168.1.200; };+  forwarders { 192.168.1.152; };
 }; };
 </code> </code>
Line 154: Line 157:
     * "example.com" -> local domain     * "example.com" -> local domain
     * type forward;  -> act as a forwarder for these zone lookups     * type forward;  -> act as a forwarder for these zone lookups
-    * forwarders { 192.168.1.200; };  -> forward to this DNS entry+    * forwarders { 192.168.1.152; };  -> forward to this DNS entry
  
 \\ \\
Line 170: Line 173:
  
 \\ \\
-Test domain lookup+**Client Testing** 
 + 
 +server1: Configure different system to use the DNS caching server
 <code bash> <code bash>
-nslookup google.com 127.0.0.1+nmcli con mod eth0 ipv4.dns 192.168.1.151 
 +</code>
  
-OR +\\ 
- +server1: Test a ping and DNS lookup 
-dig @127.0.0.1 google.com+<code bash> 
 +ping ipa 
 +dig ipa.example.com
 </code> </code>
  
 ---- ----
  
  • linux_wiki/configure_a_caching-only_name_server.txt
  • Last modified: 2019/05/25 23:50
  • (external edit)