An open source & powerful set of nameserver technologies
See all
Members (115)

Stream

Peter van Dijk

Discussion  - 
Note Downloads: Official download page native RHEL5/6 packages from Kees Monshouwer   This is a performance, feature and bugfix update to 3.5/3.5.3. It contains important fixes for slightly br...
2
Add a comment...

Urs Weiss

Discussion  - 
 
Hi,
I have a CentOS machine with PowerDNS 3.3.1 and a recursor 3.5.3 on the same machine. Yesterday i wanted to get out some numbers for monitoring. If i do a "/etc/init.d/pdns dump" i get:

...
recursing-answers=109055,
recursing-questions=109055,
(fine)

udp-answers=125236,
udp-queries=125237,
(fine)

udp4-answers=8164,
udp4-queries=62498,
udp6-answers=8018,
udp6-queries=62739,

The sum of udp4 and upd6-queries matches the value of udp-queries, fine. But the sum of the udp4 and udp6-answers is far away from the value of udp-answers.

Why that? Shouldn't it be the same as udp-answers?

Thanks
Urs
1
Urs Weiss's profile photo
3 comments
Add a comment...

Péter Gervai

Discussion  - 
 
I cannot say I'm confident about what the exact method is, but I'm curious about opinions.
1
Péter Gervai's profile photo
Add a comment...
 
I have a question related to running powerdns as authoritative domain server but also allow for recursor lookups
1
Peter van Dijk's profile photoJaco van Niekerk's profile photo
6 comments
 
I have working so far, recursor is exactly what I needed to enable in the pdns.conf file.
Add a comment...

Nick Herrmann

Discussion  - 
 
What the hell was this ? After updating some packages on centos 6.5 - powerdns was updated to version: pdns-3.3.1 - After that: allow-recursion-override and lazy-recursion are unexisting parameter... All my configurations are broken. DNS Server did not run for an hour... This is quite unprofessional...
1
bert hubert's profile photoJan-Piet Mens's profile photo
2 comments
 
Nick, I'm sorry you had issues, but we sometimes add, remove or change features. Before upgrading, we advise that you check http://doc.powerdns.com/html/changelog.html where you would have found "Michael Scheffler noticed that the lazy-recursion setting had no effect at all. Setting removed in commit 3003."
Add a comment...

Péter Gervai

Discussion  - 
 
I guess I had now enough.

recursor.conf:
lua-dns-script=/etc/powerdns/filter1.lua

# filter1.lua
function preresolve ( remoteip, domain, qtype )
  ret={}
  if not string.find(domain, "^%d%d%d%d%d%.info%.$") then return 1, ret end    - hand it over
  ret[1]={qtype=pdns.TXT, content='"Abuse deny"'}
  setvariable()                                                                 -- do not cache
  return 0, ret
end
1
Add a comment...

About this community

The Internet

Péter Gervai

Discussion  - 
 
3.5.3 choked on this; 3.6-rc1 haven't even winked. 
server-down-max-fails=32 for the win!
3
1
Péter Gervai's profile photo
 
as well as filter1.lua

-- from pastiebin

function endswith(s, send)
         return #s >= #send and s:find(send, #s-#send+1, true) and true or false
end


blocklist={"gzkthg.com.", "sidear.cn.", "qe120.com.", "38.com.", "jqdns.net."}

function preresolve ( remoteip, domain, qtype )
        if string.find(domain, "^%d%d%d%d%d%.info%.$") then
                return pdns.DROP, {}
        end
        for k,v in pairs(blocklist) do
                if endswith(domain, v) then
                        return pdns.DROP, {}
                end
        end
        return pdns.PASS, {}
end
Add a comment...

Carlos Islas

Discussion  - 
 
Hi all, i have a question for the group, how can i have a balanced zones in poweradmin? in Bind i just have to make IN A zones, does it work also in PowerDNS? Regards
1
Christopher Hunt's profile photoStefan Schmidt's profile photo
5 comments
 
Stefan has a point about the finer points and shortcomings of round-robin load balancing, but if you just need it to be "pretty good" then you're all set.
Add a comment...

Carlos Islas

Discussion  - 
 
Hi all, i have just started using PowerDNS, just installed PDNS 3.3.1 on FreeBSD10 with mysql asl Backend, but i'm having trouble installing PowerAdmin 2.1.7, when i get to the DB configuration, it says that can't update the DB, i have tried with the PowerDNS DB User and even root user but still get the same error, anyone has been in this position and found a solution?  Thanks a lot for your time.
1
Edmondas Girkantas's profile photoCarlos Islas's profile photo
7 comments
 
Yes, that was missing, now i have installed Poweradmin, thanks a lot!!!
Add a comment...
 
If you track pdns_server from git snapshots, please read http://doc.powerdns.com/html/from3.3.1to3.4.html !
1
Add a comment...
 
How do i know how many users are behind an ISP to make better load balancing decision?
1
Christopher Hunt's profile photoadevendra23's profile photo
3 comments
 
I'm afraid I have no experience with GSLB, but it seems like a pretty specialized function (returning different results based on client IP address) and I'm not aware of PowerDNS having any modules for this.  You could do some crude version by, saying directing all queries from RIPE,AFNIC, and APNIC addresses to one instance of PDNS (which gives an answer geographically closer to those clients) and all ARIN addresses to a different instance on PDNS which gives an answer that is in the US, but I'm sure that there are better solutions. 

I just found http://code.google.com/p/ruby-pdns/
Add a comment...

Ronald Schouw

Discussion  - 
 
De beste wensen,

Kan iemand ons verder helpen met het volgende probleem ?
We hebben een probleem met de nameserver test van de denic. http://www.denic.de/hintergrund/nast.html
De test geeft als antwoord: code 904 udp poort niet bereikbaar.
Echter poort 53 staat open in de firewall voor udp en tcp.
Een test van buitenaf geeft antwoord op udp request op poort 53.
Aan alle voorwaarde van de denic wordt verder voldaan.
Het gaat om domein wefashion.de
Een stukje logging.
Jan  2 10:37:32 ns2 pdns[2393]: Guardian is launching an instance
Jan  2 10:37:32 ns2 pdns[2393]: UDP server bound to 0.0.0.0:53
Jan  2 10:37:32 ns2 pdns[2393]: TCP server bound to 0.0.0.0:53
Jan  2 10:37:32 ns2 pdns[2393]: Creating backend connection for TCP
Geinstalleerde versie pdns op centos 6.4
pdns-server.x86_64                   3.3-2.el6.MIND               
pdns-server-backend-mysql.x86_64     3.3-2.el6.MIND 

Heeft iemand ervaring met de test van de denic ?
Waarom wordt de test afgekeurd, terwijl we nergens ander problemen hebben met onze nameservers.

                
 ·  Translate
1
Ronald Schouw's profile photoStefan Schmidt's profile photo
2 comments
 
Hi Stefan,

Yes this is the right solution. PDNS is listening on ipv6 on port 53 ( and ipv4).
The denic test is passed !

Thanks !
Add a comment...
 
Anybody have an idea why AXFR of TXT zones with for example 2048 DKIM key from Directadmin won't be synced into PowerDNS MySQL? (this setup works flawless for the rest) e.g. Get inserted as blank lines in PowerDNS MySQL with content field VARCHAR 512 or TEXT (doesn't matter neither works) and by the way Directadmin has the DKIM key in "double" quotes and chopped up lines cause they use bind/named wich is limited in length else it crashes. Think a LOT of ppl have trouble with this? Switch back to 786 DKIM is no option security wise and also not length wise. Is there a MySQL option for my.cnf trouble with the quotes? Haven't found solution yet. Maybe someone can push me in the right direction. Thanks.
1
Peter van Dijk's profile photoWilco van Boxtel's profile photo
5 comments
 
We would be happy to contact DirectAdmin, or to help you contact DirectAdmin, but we need a clear description of the issue, including, again, configuration files and mysql dumps.
Add a comment...

Andreas Falk

Discussion  - 
 
Hi,

I have a question that is non PowerDNS specific, but I throw it here anyway :)

There are a lot of different thoughts on the internets about SOA refresh times.

I am using my old 10800 and every dnscheck site nags about it :)
http://www.dnsqueries.com says its 'very high, 3600-7200 seconds is good'
and
http://dnscheck.iis.se says its 'to low, recommended is 14400'

I know that it is within the RFC1912 but I wonder what your preferred SOA refresh are :)
1
Stefan Schmidt's profile photoAndreas Falk's profile photo
2 comments
 
+Stefan Schmidt Tnx, I'll look it up.
Add a comment...