Jump to content

DNS Switch. I need more DNS

ChaseB
Go to solution Solved by Scheer,

Use Pi-hole as your primary and 1.1.1.1 as your secondary so, as you said, internet still works when Pi-hole goes down.

 

Then put the two other IPs into Pi-hole's upstream's custom fields:

screenshot at 2018-04-18

 

Or you can use your Windows Server with the DNS roll installed as your primary, and put the other Server and Pi-hole in as forwarders. 

 

https://www.faqforge.com/windows-server-2012-r2/set-dns-forwarder-windows-server-2012-r2/

image.png

My router has 2 DNS ip sections. I use one of the DNS sections for my custom Pi Hole DNS and the other section is using 1.1.1.1. My issues is my Servers. I have 2 and the network needs to point to both of them. I need two more DNS Sections. What can I do or what are my options. I do have a windows server with the DNS role installed. I dont know how to use the role but I can learn if that is an option. I don't know. Help is always welcome. 

 

Thanks,

Chase B 

Chase B
Sound Tech and GPU Expert

Are You New? Please Click on these links to help you out. Code Of Conduct | LTT Beginners Guide 

Link to comment
Share on other sites

Link to post
Share on other sites

What you're probably looking for is DNS forwarders. That way, you can use your local DNS resolving and any request not matching an internal record is forwarded to the internet, using DNS servers like 1.1.1.1, 8.8.8.8 etc.

 

Creating multiple lookup zones shouldn't require Windows' implementation specifically, but having an easy management UI does help. My home network uses a Windows Server 2019 VM for DNS and DHCP.

PC Specs - AMD Ryzen 7 5800X3D MSI B550M Mortar - 32GB Corsair Vengeance RGB DDR4-3600 @ CL16 - ASRock RX7800XT 660p 1TBGB & Crucial P5 1TB Fractal Define Mini C CM V750v2 - Windows 11 Pro

 

Link to comment
Share on other sites

Link to post
Share on other sites

Why do DNS queries need to be sent to your servers if you already have a pihole? Could you explain your network better, please?

PC Specs:

CPU: AMD 1700x Cooler: Corsair H100i V2 Motherboard: Asus Crosshair VI Hero RAM: 4 * 8GB G.Skill RGB DDR4 Graphics: EVGA GTX 1080 Ti SC2 Storage: Samsung 960 EVO 500GB Case: Fractal Design Meshify C PSU: EVGA 750w G3 Monitors: Dell SG2716DG +  2x Dell U2515H

 

Freenas specs:

CPU: Intel Xeon E5-2650 V2 Cooler: Some noctua cooler Motherboard: Supermicro X9 SRL-F RAM: 8 * 8GB Samsung DDR3 ECC Storage: 6 * 4TB Seagate 7200 RPM RAIDZ2 Controller: LSI H220 Case: Phanteks Enthoo Pro PSU: EVGA 650w G3

 

Phone: iPhone 6S 32 GB Space Grey

Link to comment
Share on other sites

Link to post
Share on other sites

Instructions unclear got ...

 

Let's not go there. But I don't really get what you are trying to achieve either, please elaborate

75% of what I say is sarcastic

 

So is the rest probably

Link to comment
Share on other sites

Link to post
Share on other sites

12 minutes ago, NelizMastr said:

What you're probably looking for is DNS forwarders. That way, you can use your local DNS resolving and any request not matching an internal record is forwarded to the internet, using DNS servers like 1.1.1.1, 8.8.8.8 etc.

 

Creating multiple lookup zones shouldn't require Windows' implementation specifically, but having an easy management UI does help. My home network uses a Windows Server 2019 VM for DNS and DHCP.

Do you have any trusted links that tell me how to use Windows Server DNS. 

Chase B
Sound Tech and GPU Expert

Are You New? Please Click on these links to help you out. Code Of Conduct | LTT Beginners Guide 

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, ChaseB said:

Do you have any trusted links that tell me how to use Windows Server DNS. 

Explain what you're trying to achieve first, in detail please.

PC Specs - AMD Ryzen 7 5800X3D MSI B550M Mortar - 32GB Corsair Vengeance RGB DDR4-3600 @ CL16 - ASRock RX7800XT 660p 1TBGB & Crucial P5 1TB Fractal Define Mini C CM V750v2 - Windows 11 Pro

 

Link to comment
Share on other sites

Link to post
Share on other sites

2 minutes ago, myselfolli said:

Instructions unclear got ...

 

Let's not go there. But I don't really get what you are trying to achieve either, please elaborate

I need to forward 4 DNS Records.

 

149.XXX.1.XX

1.1.1.1

192.168.0.156

192.168.0.123

 

My router only allows me to use 2. I want to use all 4 

Chase B
Sound Tech and GPU Expert

Are You New? Please Click on these links to help you out. Code Of Conduct | LTT Beginners Guide 

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, NelizMastr said:

Explain what you're trying to achieve first, in detail please.

I just replied to  to @myselfolli with all of the info. Hopefully it makes sense.

Chase B
Sound Tech and GPU Expert

Are You New? Please Click on these links to help you out. Code Of Conduct | LTT Beginners Guide 

Link to comment
Share on other sites

Link to post
Share on other sites

16 minutes ago, ThatFlashCat said:

Why do DNS queries need to be sent to your servers if you already have a pihole? Could you explain your network better, please?

My windows server is my Long Term NAS and my AD for my Workstaions

My UnRaid Server is my Steam, and windows update cache server. It also is my Back Up NAS Server

Chase B
Sound Tech and GPU Expert

Are You New? Please Click on these links to help you out. Code Of Conduct | LTT Beginners Guide 

Link to comment
Share on other sites

Link to post
Share on other sites

As this appears to be what your router is using to serve DNS to the whole LAN then you don't want different queries going to different DNS servers, it can cause all sorts of problems.  When setting multiple DNS servers its expected that all those servers are at the same host with the same results.

For example Cloudflare 1.1.1.1 and 1.0.0.1 are different servers but will give you the same results back.  Likewise Google with 8.8.8.8 and 8.8.4.4.

 

Unfortunately this means you would have to use your UnRaid server as the only DNS on your router.  Anything else is going to cause havock with your Steam/Windows Update cache as sometimes it will be pointed to your UnRaid server, other times it will be pointing to the REAL servers.

Router:  Intel N100 (pfSense) WiFi6: Zyxel NWA210AX (1.7Gbit peak at 160Mhz)
WiFi5: Ubiquiti NanoHD OpenWRT (~500Mbit at 80Mhz) Switches: Netgear MS510TXUP, MS510TXPP, GS110EMX
ISPs: Zen Full Fibre 900 (~930Mbit down, 115Mbit up) + Three 5G (~800Mbit down, 115Mbit up)
Upgrading Laptop/Desktop CNVIo WiFi 5 cards to PCIe WiFi6e/7

Link to comment
Share on other sites

Link to post
Share on other sites

10 minutes ago, Alex Atkin UK said:

As this appears to be what your router is using to serve DNS to the whole LAN then you don't want different queries going to different DNS servers, it can cause all sorts of problems.  When setting multiple DNS servers its expected that all those servers are at the same host with the same results.

For example Cloudflare 1.1.1.1 and 1.0.0.1 are different servers but will give you the same results back.  Likewise Google with 8.8.8.8 and 8.8.4.4.

 

Unfortunately this means you would have to use your UnRaid server as the only DNS on your router.  Anything else is going to cause havock with your Steam/Windows Update cache as sometimes it will be pointed to your UnRaid server, other times it will be pointing to the REAL servers.

Can  I point all traffic to one DNS and inside there, I can have all the DNS's. I have been running the PI Hole DNS alongside 1.1.1.1 for a year now with no issue.

Chase B
Sound Tech and GPU Expert

Are You New? Please Click on these links to help you out. Code Of Conduct | LTT Beginners Guide 

Link to comment
Share on other sites

Link to post
Share on other sites

1 hour ago, ChaseB said:

Can  I point all traffic to one DNS and inside there, I can have all the DNS's. I have been running the PI Hole DNS alongside 1.1.1.1 for a year now with no issue.

You may not have noticed, but any time a client device used 1.1.1.1 directly, it wouldn’t be affected by your pihole settings. What should really happen is all of your devices *only* go to your pihole, and the pihole then uses 1.1.1.1 as its source for DNS queries it doesn’t know (which would be most of them). If you wanted to program in any local hosts to the DNS, you would add them to the pihole, not to your router or to other computers/servers directly.

Looking to buy GTX690, other multi-GPU cards, or single-slot graphics cards: 

 

Link to comment
Share on other sites

Link to post
Share on other sites

1 hour ago, brwainer said:

You may not have noticed, but any time a client device used 1.1.1.1 directly, it wouldn’t be affected by your pihole settings. What should really happen is all of your devices *only* go to your pihole, and the pihole then uses 1.1.1.1 as its source for DNS queries it doesn’t know (which would be most of them). If you wanted to program in any local hosts to the DNS, you would add them to the pihole, not to your router or to other computers/servers directly.

So I have the 1.1.1.1 as a backup. Pi Hole uses 1.1.1.1 and 1.0.0.1 as well. If the Pi Hole goes down, I still want the internet to work. Those other two servers are the big issue. That is what I need to figure out

 

Chase B
Sound Tech and GPU Expert

Are You New? Please Click on these links to help you out. Code Of Conduct | LTT Beginners Guide 

Link to comment
Share on other sites

Link to post
Share on other sites

31 minutes ago, ChaseB said:

So I have the 1.1.1.1 as a backup. Pi Hole uses 1.1.1.1 and 1.0.0.1 as well. If the Pi Hole goes down, I still want the internet to work. Those other two servers are the big issue. That is what I need to figure out

 

The other two are DNS servers? What things are they responsible for? Is it for an Active Directory system? Can you have the pihole use them as its DNS servers, and then they point to cloudflare?

Looking to buy GTX690, other multi-GPU cards, or single-slot graphics cards: 

 

Link to comment
Share on other sites

Link to post
Share on other sites

Use Pi-hole as your primary and 1.1.1.1 as your secondary so, as you said, internet still works when Pi-hole goes down.

 

Then put the two other IPs into Pi-hole's upstream's custom fields:

screenshot at 2018-04-18

 

Or you can use your Windows Server with the DNS roll installed as your primary, and put the other Server and Pi-hole in as forwarders. 

 

https://www.faqforge.com/windows-server-2012-r2/set-dns-forwarder-windows-server-2012-r2/

image.png

Link to comment
Share on other sites

Link to post
Share on other sites

The problem here is that while Windows may use DNS in order, routers AFAIK generally don't.  They will randomly jump between different DNS servers to spread the load.

The way to do it without risking any complications would be to have a second identically configured PiHole.  But then, how often is the PiHole going to be down in the first place?  If its happening often I'd argue its not fit for purpose.

 

Its in fact the only reason I do not have a Steam/Windows cache myself as I want DNS handled by my pfSense box which only ever goes down when its being updated.

Router:  Intel N100 (pfSense) WiFi6: Zyxel NWA210AX (1.7Gbit peak at 160Mhz)
WiFi5: Ubiquiti NanoHD OpenWRT (~500Mbit at 80Mhz) Switches: Netgear MS510TXUP, MS510TXPP, GS110EMX
ISPs: Zen Full Fibre 900 (~930Mbit down, 115Mbit up) + Three 5G (~800Mbit down, 115Mbit up)
Upgrading Laptop/Desktop CNVIo WiFi 5 cards to PCIe WiFi6e/7

Link to comment
Share on other sites

Link to post
Share on other sites

13 hours ago, Alex Atkin UK said:

The problem here is that while Windows may use DNS in order, routers AFAIK generally don't.  They will randomly jump between different DNS servers to spread the load.

The way to do it without risking any complications would be to have a second identically configured PiHole.  But then, how often is the PiHole going to be down in the first place?  If its happening often I'd argue its not fit for purpose.

 

Its in fact the only reason I do not have a Steam/Windows cache myself as I want DNS handled by my pfSense box which only ever goes down when its being updated.

Pi hole is in the Cloud. Just in case the whole server goes down, I don't want the internet to go down. So far, pi hole has never gone down.

Chase B
Sound Tech and GPU Expert

Are You New? Please Click on these links to help you out. Code Of Conduct | LTT Beginners Guide 

Link to comment
Share on other sites

Link to post
Share on other sites

1 hour ago, ChaseB said:

Pi hole is in the Cloud. Just in case the whole server goes down, I don't want the internet to go down. So far, pi hole has never gone down.

Like I said though, the problem is with a router you don't have any control over which DNS it decides to use for each query.  If the router is based on Linux then things often go pear shaped if the primary is down anyway, even when secondary is available.

If you insist on using both I'd definitely look for a tool to do many DNS queries and check the results for consistency to see if it is sticking to primary or jumping between the two.  What I'm unsure of at this point is where the Steam cache comes into this, as for that to work all DNS should be pointing to THAT box.

Router:  Intel N100 (pfSense) WiFi6: Zyxel NWA210AX (1.7Gbit peak at 160Mhz)
WiFi5: Ubiquiti NanoHD OpenWRT (~500Mbit at 80Mhz) Switches: Netgear MS510TXUP, MS510TXPP, GS110EMX
ISPs: Zen Full Fibre 900 (~930Mbit down, 115Mbit up) + Three 5G (~800Mbit down, 115Mbit up)
Upgrading Laptop/Desktop CNVIo WiFi 5 cards to PCIe WiFi6e/7

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×