24 Pull Requests
PowerDNS

PowerDNS/pdns

PowerDNS Authoritative, PowerDNS Recursor, dnsdist
C++
View on GitHub https://www.powerdns.com/
enhancement
bug
feature
documentation
tests
help-wanted
Contribulator score: 33 Last scored 2023-11-07 17:31:45 UTC
Contributors (5)
  • Habbie
  • ndonegan
  • pieterlexis
  • rgacogne
  • RUffass

Pull requests (156)

Habbie

hide ttl in RPZ tests to avoid random failures to PowerDNS/pdns 2016-12-13 14:32:15 UTC

Short description

If a test runner VM is slow, TTLs may decrease before we manage to get all our queries in. If we don't hide the TTL in our testing, this may cause tests to fail.

Checklist

<!– please indicate if any of the…

pieterlexis

DNSDist: some service improvements to PowerDNS/pdns 2016-12-13 10:57:33 UTC

Short description

This makes the dnsdist start-up script/service file check the config before attempting to start. The initscript will refuse to stop the servic eon a restart if the config is broken.

Checklist

<!– please in…

rgacogne

dnsdist: Prevent race while creating new TCP worker threads to PowerDNS/pdns 2016-12-13 08:29:58 UTC

Short description

We try very hard to avoid using locks, but we need to prevent two threads inserting into the TCP workers vector concurrently. While this can't happen at runtime since the healthcheck thread is the only one calling…

rgacogne

SuffixMatchNode: Fix an insertion issue for an existing node to PowerDNS/pdns 2016-12-12 16:25:08 UTC

Short description

If the node we are about to insert already existed as an intermediary one, we need to mark it as an end node.

Checklist

<!– please indicate if any of these things are done/included with this Pull Request. …

rgacogne

Set `RemoteLogger::d_socket` to -1 after closing it to PowerDNS/pdns 2016-12-12 11:21:49 UTC

Short description

Otherwise, in the unlikely case SSocket() throws an exception
we might end up with a stale file descriptor in RemoteLogger::reconnect().

Checklist

<!– please indicate if any of these things are done/i…

rgacogne

[WIP] dnsdist: Update ChangeLog for 1.1.0-beta2 to PowerDNS/pdns 2016-12-12 10:03:15 UTC

Don't merge! We might need to add #4541 to this list, and to update the date.

rgacogne

rec: Allocate the DNSQuestion `dq` object on the stack to PowerDNS/pdns 2016-12-12 09:53:44 UTC

Short description

We don't need to allocate a shared_ptr for each query.

Checklist

<!– please indicate if any of these things are done/included with this Pull Request. Not all boxes need to be checked for the Pull Request…

rgacogne

Backport #4724: rec: Add `getRecursorThreadId()` to Lua, identifying the current thread to PowerDNS/pdns 2016-12-12 09:50:32 UTC

Short description

(cherry picked from commit b401545341c7e4bd2d27940e95f9fe1af374479d)

Checklist

<!– please indicate if any of these things are done/included with this Pull Request. Not all boxes need to be checked for the …

rgacogne

Backport #4715: Specify that dnsmessage.proto uses protobuf version 2 to PowerDNS/pdns 2016-12-12 08:43:58 UTC

Short description

Recent proto-c versions are complaining loudly otherwise.

(cherry picked from commit 2e14d4bbf6549c70e3422b315287bc69bfe398dd)

Checklist

<!– please indicate if any of these things are done/included with…

rgacogne

Backport #4686: calidns: Don't crash if we don't have enough 'unknown' queries remaining to PowerDNS/pdns 2016-12-12 08:42:59 UTC

Short description

(cherry picked from commit b4f5799bf3ed50dc0146a2bbfb2c61551de0136b)

Checklist

<!– please indicate if any of these things are done/included with this Pull Request. Not all boxes need to be checked for the …

rgacogne

Backport #4638: auth: In `Bind2Backend::lookup()`, use the `zoneId` when we have it to PowerDNS/pdns 2016-12-12 08:41:51 UTC

Short description

After the initial lookup corresponding to a DNSBackend::getAuth(),
the subsequent ones already have the zoneId, so use it instead of
looping on chopOff() again. This should be much more efficient.

(cherr…

rgacogne

dnsdist: Fix FD leak on TCP connection failure, handle TCP worker creation failure to PowerDNS/pdns 2016-12-09 17:39:58 UTC

Short description

dnsdist might have leaked the file descriptor corresponding to a TCP socket if the initial connect() call failed and triggered an exception.
It might also have exited in the unlikely event of a failure during …

rgacogne

Backport #4625: auth: Unify usage of randomness source by using `dns_random()` to PowerDNS/pdns 2016-12-08 09:59:07 UTC

Utility::random() is not impossible to predict, so even if we are not
using it for anything sensitive it's better to just use dns_random()
instead.
Reported by mongo (thanks!).

(cherry picked from commit d2116c15dbf1e0cef93e478…

Habbie

remove unreliable `latency` variable from counters test to PowerDNS/pdns 2016-12-06 15:57:31 UTC

Short description

The latency counter is not always zero at the end of this test, especially on Travis VMs with varying performance.

Checklist

<!– please indicate if any of these things are done/included with this Pull Re…

rgacogne

dnsdist: Add `setCacheCleaningPercentage()` to PowerDNS/pdns 2016-12-06 15:43:15 UTC

Short description

By default, the cache cleaning algorithm scans the entire cache looking for expired entries to remove. This commit adds an option to configure the percentage of the cache to try to free on every pass.

Checkl…

rgacogne

auth: Fix coverity warning in `pdnsutil show-zone` to PowerDNS/pdns 2016-12-06 10:08:15 UTC

Short description

Fix a warning reported by coverity (minor resource leak).

Checklist

<!– please indicate if any of these things are done/included with this Pull Request. Not all boxes need to be checked for the Pull Reques…

Habbie

add missing letter, plus format to PowerDNS/pdns 2016-12-06 09:54:41 UTC

doc nit

rgacogne

Handle exceptions raised by `closesocket()` to PowerDNS/pdns 2016-12-05 17:09:20 UTC

Short description

This was not very well handled, and could cause the PowerDNS process
to terminate. This is especially nasty when closesocket() is called
from a destructor, as we could already be dealing with an exception.

#…

rgacogne

dnsdist: Ignore newBPFFilter() and newDynBPFFilter() in client mode to PowerDNS/pdns 2016-12-05 17:07:07 UTC

Short description

Fixes #4741.

Checklist

<!– please indicate if any of these things are done/included with this Pull Request. Not all boxes need to be checked for the Pull Request to be accepted –>
I have:

  • read the…
rgacogne

dnsdist: Decrement the queued TCP conn count if writing to the pipe fails to PowerDNS/pdns 2016-12-05 17:05:51 UTC

Short description

Otherwise we might end up refusing every new TCP connection until we are restarted.

Checklist

<!– please indicate if any of these things are done/included with this Pull Request. Not all boxes need to be c…

Habbie

avoid undefined behaviour in clang vs. gcc to PowerDNS/pdns 2016-12-05 15:31:14 UTC

Short description

this unbreaks master

Checklist

<!– please indicate if any of these things are done/included with this Pull Request. Not all boxes need to be checked for the Pull Request to be accepted –>
I have:

  • …
rgacogne

Backport 4722: Fix incorrect length check in `DNSName` when extracting qtype or qclass to PowerDNS/pdns 2016-12-05 14:52:47 UTC

Short description

In DNSName::packetParser(), the length check might have been incorrect
when the caller asked for the qtype and/or the qclass to be extracted.
The pos + labellen + 2 &gt; end check was wrong because pos mig…

rgacogne

Backport 4722: Fix incorrect length check in `DNSName` when extracting qtype or qclass to PowerDNS/pdns 2016-12-05 14:52:46 UTC

Short description

In DNSName::packetParser(), the length check might have been incorrect
when the caller asked for the qtype and/or the qclass to be extracted.
The pos + labellen + 2 &gt; end check was wrong because pos mig…

Habbie

do not build/test recursor, dnsdist, docs to PowerDNS/pdns 2016-12-05 12:35:00 UTC

rgacogne

dnsdist: Add the TCP socket to the map only if the connection succeeds to PowerDNS/pdns 2016-12-04 20:25:46 UTC

Short description

Otherwise we create a value-initialized (to 0) entry in the map and try to use it later, as reported by @philmayers and tracked down by @ahupowerdns in #4733.
Fixes #4733.

Checklist

<!– please indicate i…

« First ‹ Prev 1 2 3 4 5 6 7 Next › Last »
  • Sponsored by  DNSimple,  Octobox &  Bugsnag
  • About
  • How to contribute?
  • Contributor pledge
  • API
  • Unsubscribe
    •  English
    •  Español
    •  Ελληνικά
    •  Português do Brasil
    •  Suomi
    •  Français
    •  Deutsch
    •  Русский
    •  Українська
    •  ไทย
    •  Italiano
    •  Norsk bokmål
    •  தமிழ்
    •  Tr
    •  简体中文
    •  正體中文
    •  日本語
    •  Čeština
    •  हिंदी
    •  Polski
    • Translate into your language!