Using local DNS server

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
12

Using local DNS server

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
Using local DNS server
Using local DNS server
2019-07-29 19:16:20 - last edited 2019-07-29 21:06:42
Model: Archer C2  
Hardware Version: V3
Firmware Version: 3.0.1

I'm using raspberryPi 2 a VPN & DNS that I installed last week.

I have DHCP in range of 192.168.0.100-192.168.0.255

My router is 192.168.0.1

and my rapsberry pi is 192.168.0.120

Since I install it and I want to use it, I got some issues configure that in the router, because it using same subnet.

I try to change Pi to 192.168.1.1 but then it gone, and 192.168.0.20 still in the same subnet.

What is the right configuration ?

  0      
  0      
#1
Options
12 Reply
Re:Using local DNS server
2019-07-30 03:08:42

@XDavidT 

 

What is the current network topology? How do you connect these devices together? 

 

Do you want to use the raspberryPi 2 as the local DNS server? 

 

 

  0  
  0  
#2
Options
Re:Re:Using local DNS server
2019-07-30 07:10:06

I Have router from ISP that I'm using in bridge mode (like modem)

The Archer C2 - Internet port connected to 'modem' and my 1- my pc, 2- my rapsberrypi2 (The DNS I want to use), 3- other pc

  0  
  0  
#3
Options
Re:Using local DNS server
2019-07-30 10:15:51

Unbound is pretty easy, supports bind style config files and fairly reliable. If the server will be a stand-alone 'gateway' type box, and you'd like a few extra niceties, you might want to take a look at the firewall/gateway distro called untangle as well. router 192.168.1.1

  0  
  0  
#4
Options
Re:Re:Using local DNS server
2019-07-30 14:28:36

The main problem here isn't the firewall, is only to get easy using hosts (call an ip by name).

I need only to configure that in the router, what is the IP that my raspberry pi need to get ?

  0  
  0  
#5
Options
Re:Re:Re:Using local DNS server
2019-07-31 07:59:58

@XDavidT 

 

Per you said, cause the IP of the raspberry is in the same subnet of the main router, we are not able to change the WAN DNS.

 

While as a workaround, you can change the DNS server under DHCP settings page, the effect is the same. 

 

Good day. 

 

 

  0  
  0  
#6
Options
Re:Re:Re:Using local DNS server
2019-10-03 14:34:11

@Kevin_Z  Then it will be out of the segmant and I cannot access it.

  0  
  0  
#8
Options
Re:Re:Re:Using local DNS server
2019-10-14 06:23:22

@XDavidT 

 

What do you mean it will be out of the segment? What is the IP and DNS of the Pi-hole? 

 

 

  0  
  0  
#11
Options
Re:Re:Re:Using local DNS server
2019-10-14 09:56:49

@Kevin_Z Hi Kevin,

The router is 192.168.0.1, then DHCP is from 192.168.0.100-255

The Pi-Hole is 192.168.0.120

  0  
  0  
#12
Options
Re:Re:Re:Using local DNS server
2019-10-16 07:00:36

@XDavidT 

 

Thanks for your explanation. The router and the Pi-Hole are still in the same subnet.

 

So if you want to use the Pi-Hole as the DNS server, you can change the DNS server under Advanced-network-LAN settings page to the Pi-hole one. 

 

May it help. Good day. 

 

  0  
  0  
#13
Options
Re:Re:Re:Using local DNS server
2019-10-16 07:27:34

@Kevin_Z What need to be here ?

  0  
  0  
#14
Options

Information

Helpful: 0

Views: 16728

Replies: 12

Related Articles