User Tools

Site Tools


networking:router:build_a_router

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
networking:router:build_a_router [2021/02/03 22:59] peternetworking:router:build_a_router [2021/02/03 23:05] (current) – [Configure /etc/resolv.conf] peter
Line 110: Line 110:
 forward-zone: forward-zone:
   name: "."   name: "."
-  forward-addr: 1.2.3.4  # IP of the upstream resolver+  forward-addr: 1.2.3.4  # IP of the upstream resolver.
 </file> </file>
  
 <WRAP info> <WRAP info>
 **NOTE:**  The above configuration assumes that the 192.168.1.0/24 subnet is used for the wired clients and 192.168.2.0/24 for the wireless. **NOTE:**  The above configuration assumes that the 192.168.1.0/24 subnet is used for the wired clients and 192.168.2.0/24 for the wireless.
 +</WRAP>
 +
 +----
 +
 +===== Configure /etc/resolv.conf =====
 +
 +<file bash /etc/resolv.conf>
 +nameserver 127.0.0.1
 +nameserver 1.2.3.4
 +search localdomain
 +</file>
 +
 +<WRAP info>
 +**NOTE:** 
 +
 +  * **nameserver 127.0.0.1**:  Needed as the router is using the caching resolver.
 +  * **nameserver 1.2.3.4**:  The IP of the DNS Resolver.
  
-**NOTE:**  If the router is using the caching resolver, its /etc/resolv.conf file should contain nameserver 127.0.0.1. 
 </WRAP> </WRAP>
  
networking/router/build_a_router.1612393183.txt.gz · Last modified: 2021/02/03 22:59 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki