PowerDNS server updating

Rintaro

New Member
Joined
Nov 6, 2023
Messages
13
Reaction score
1
Credits
114
Hi, I made PowerDNS server for my Lab and it works fantastic. For configuration I used some materials from Internet and some from existing PowerDNS servers on my company.

On the server where manual IP address settings are made, I have following:

IPv4: 172.21.11.100
Mask: 255.255.255.0
Gate: 172.21.11.1
DNS: $PUBLIC_IP

$PUBLIC_IP = This is the Public IP of the router where PowerDNS server resides.

Now if i want to run sudo apt update && sudo apt upgrade, I cannot resolve to apt mirrors, but can resolve IP addresses. And of course can resolve domains that PowerDNS manages.

My question is: Is it okay to put 1.1.1.1 as secondary DNS on PowerDNS server as that would allow me to resolve to apt mirrors in order to update?
 


My question is: Is it okay to put 1.1.1.1 as secondary DNS on PowerDNS server as that would allow me to resolve to apt mirrors in order to update?
It should work but note that "secondary" does not mean that it will be used only if primary fails but anytime DNS response of the secondary is faster, which might as well mean all the time.

If I'm you I'd rather investigate why your primary doesn't work, a place to start is PowerDNS config file (I assume there is one).
 
also be aware that some websites do not accept 1.1.1.1 from cloudfare - this is an issue with the Cloudflare DNS getting the records from the authorative DNS, This usually happens when that authoritative DNS has an extensive firewall upfront - so it may be better to 8.8.8.8 which is Google but it does not have the issue - which I will say does not happen on all websites just a very few of them
 
It should work but note that "secondary" does not mean that it will be used only if primary fails but anytime DNS response of the secondary is faster, which might as well mean all the time.

If I'm you I'd rather investigate why your primary doesn't work, a place to start is PowerDNS config file (I assume there is one).
Yes updating config has to be it. This same scenario is with the company ns so it replicates on mine as I used it as reference. Here is my configuration (Pastebin) https://pastebin.com/enJHLurP
 

Members online


Top