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

linux_wiki:configure_a_caching-only_name_server [2016/08/30 22:49]
billdozor created
linux_wiki:configure_a_caching-only_name_server [2019/05/25 23:50]
Line 1: Line 1:
-====== Configure A Caching-only Name Server ====== 
- 
-**General Information** 
- 
-Caching-only name servers are non-authoritative. They perform lookups inside or outside the zone and cache the results to use locally. 
- 
----- 
- 
-====== Named DNS Caching Server ====== 
- 
-Install required packages 
-<code bash> 
-yum install bind bind-utils 
-</code> 
-  * bind -> server package 
-  * bind-utils -> client utilities 
- 
-\\ 
-Make some named configuration changes 
-<code bash> 
-vim /etc/named.conf 
- 
-listen-on port 53 { any; }; 
-allow-query { any; }; 
- 
-dnssec-validation no; 
-</code> 
-  * listen on any IP 
-  * allow queries from any sources 
-  *  
- 
-\\ 
-Check named.conf config syntax 
-<code bash> 
-named-checkconf 
-</code> 
-  * No output = no mistakes 
- 
-\\ 
-Open the firewall for DNS 
-<code bash> 
-firewall-cmd --permanent --add-service=dns 
-firewall-cmd --reload 
-</code> 
- 
-\\ 
-Start the named service 
-<code bash> 
-systemctl enable named 
-systemctl start named 
-</code> 
- 
-\\ 
-Test a domain lookup 
-<code bash> 
-nslookup google.com 127.0.0.1 
- 
-OR 
- 
-dig @127.0.0.1 google.com 
-</code> 
- 
----- 
  
  • linux_wiki/configure_a_caching-only_name_server.txt
  • Last modified: 2019/05/25 23:50
  • (external edit)