]> granicus.if.org Git - pdns/log
pdns
8 years agoMerge pull request #3587 from pieterlexis/l-root
bert hubert [Mon, 21 Mar 2016 06:45:56 +0000 (07:45 +0100)]
Merge pull request #3587 from pieterlexis/l-root

Move the root server addresses to a header

8 years agoMerge pull request #3595 from pieterlexis/trailing-dot-in-create-zone
bert hubert [Mon, 21 Mar 2016 06:44:55 +0000 (07:44 +0100)]
Merge pull request #3595 from pieterlexis/trailing-dot-in-create-zone

pdnsutil: add NS record without trailing dot with create-zone

8 years agoMerge pull request #3578 from pieterlexis/disable-syslog
bert hubert [Mon, 21 Mar 2016 06:44:40 +0000 (07:44 +0100)]
Merge pull request #3578 from pieterlexis/disable-syslog

Add a `disable-syslog` option

8 years agoMerge pull request #3593 from pieterlexis/atomic-on-mipsel
bert hubert [Mon, 21 Mar 2016 06:43:09 +0000 (07:43 +0100)]
Merge pull request #3593 from pieterlexis/atomic-on-mipsel

Add -latomic to LDFLAGS on mips(el)

8 years agoMerge pull request #3594 from rgacogne/dnsdist-single-console-command
bert hubert [Sun, 20 Mar 2016 18:08:36 +0000 (19:08 +0100)]
Merge pull request #3594 from rgacogne/dnsdist-single-console-command

dnsdist: Prevent EOF error for empty console response w/o sodium

8 years agoMerge pull request #3598 from ahupowerdns/pdnsutil-help
bert hubert [Sun, 20 Mar 2016 18:08:02 +0000 (19:08 +0100)]
Merge pull request #3598 from ahupowerdns/pdnsutil-help

make pdnsutil help output to stdout, document create-slave-zone in "help" output

8 years agoMerge pull request #3599 from ahupowerdns/pdnsutil-fail-fix
bert hubert [Sun, 20 Mar 2016 17:59:21 +0000 (18:59 +0100)]
Merge pull request #3599 from ahupowerdns/pdnsutil-fail-fix

alternate to #3579 as fix for #3387. lot shorter.

8 years agoalternate to #3579 as fix for #3387. lot shorter.
bert hubert [Sat, 19 Mar 2016 20:29:35 +0000 (21:29 +0100)]
alternate to #3579 as fix for #3387. lot shorter.

8 years agomake pdnsutil help output to stdout, document create-slave-zone in "help" output
bert hubert [Fri, 18 Mar 2016 19:13:47 +0000 (20:13 +0100)]
make pdnsutil help output to stdout, document create-slave-zone in "help" output

8 years agoMerge pull request #3590 from a6502/luabackendfixes-take2
bert hubert [Fri, 18 Mar 2016 18:52:24 +0000 (19:52 +0100)]
Merge pull request #3590 from a6502/luabackendfixes-take2

Luabackendfixes take2

8 years agopdnsutil: add NS record without trailing dot with create-zone
Pieter Lexis [Fri, 18 Mar 2016 11:42:18 +0000 (12:42 +0100)]
pdnsutil: add NS record without trailing dot with create-zone

Closes #3484

8 years agodnsdist: Prevent EOF error for empty console response w/o sodium
Remi Gacogne [Fri, 18 Mar 2016 09:55:38 +0000 (10:55 +0100)]
dnsdist: Prevent EOF error for empty console response w/o sodium

Prevent the "Fatal error: EOF while reading message" error when
the server send an empty response to a single console command.
It was caused by calling `readn2()` for a 0-sized read.
When libsodium support is enabled, padding prevents 0-sized
responses anyway.

8 years agoAdd -latomic to LDFLAGS on mips(el)
Pieter Lexis [Fri, 18 Mar 2016 08:25:29 +0000 (09:25 +0100)]
Add -latomic to LDFLAGS on mips(el)

Closes #3486

8 years agoFix recursor test in buildbot
Pieter Lexis [Thu, 17 Mar 2016 17:00:11 +0000 (18:00 +0100)]
Fix recursor test in buildbot

8 years agosimple test script for luabackend
Wieger Opmeer [Thu, 17 Mar 2016 13:29:05 +0000 (14:29 +0100)]
simple test script for luabackend

8 years agorepair dnssec in luabackend (done by ahu); try not to crash on unexpected return...
Wieger Opmeer [Thu, 17 Mar 2016 13:23:42 +0000 (14:23 +0100)]
repair dnssec in luabackend (done by ahu); try not to crash on unexpected return values; use integers where appropriate because that works better for lua 5.3

8 years agoMerge pull request #3586 from pieterlexis/rm-root-ref
Peter van Dijk [Thu, 17 Mar 2016 11:58:09 +0000 (12:58 +0100)]
Merge pull request #3586 from pieterlexis/rm-root-ref

Remove the send-root-referral option

8 years agoMerge pull request #3585 from pieterlexis/wtf8
Peter van Dijk [Thu, 17 Mar 2016 10:20:07 +0000 (11:20 +0100)]
Merge pull request #3585 from pieterlexis/wtf8

Use another copyright keypoint

8 years agoRemove the send-root-referral option
Pieter Lexis [Thu, 17 Mar 2016 09:21:10 +0000 (10:21 +0100)]
Remove the send-root-referral option

This was already disabled and is wrong and bad:
https://www.dns-oarc.net/oarc/articles/upward-referrals-considered-harmful

8 years agoMerge pull request #3565 from rgacogne/coverity-fixes
Peter van Dijk [Thu, 17 Mar 2016 09:13:43 +0000 (10:13 +0100)]
Merge pull request #3565 from rgacogne/coverity-fixes

Small fixes reported by coverity

8 years agoMerge pull request #3580 from mind04/bind-list
Peter van Dijk [Thu, 17 Mar 2016 09:12:52 +0000 (10:12 +0100)]
Merge pull request #3580 from mind04/bind-list

bindbackend: fix, set domain in list()

8 years agoMerge pull request #3579 from rgacogne/coverity-fixes-pdns
Peter van Dijk [Thu, 17 Mar 2016 09:12:15 +0000 (10:12 +0100)]
Merge pull request #3579 from rgacogne/coverity-fixes-pdns

auth: Fix reading invalid iterator in fillZone()

8 years agoMerge pull request #3584 from sjvs/patch-1
Peter van Dijk [Thu, 17 Mar 2016 09:11:25 +0000 (10:11 +0100)]
Merge pull request #3584 from sjvs/patch-1

Update Makefile.am: do not swallow curl errors

8 years agoMove the root server addresses to a single place
Pieter Lexis [Tue, 15 Mar 2016 15:24:01 +0000 (16:24 +0100)]
Move the root server addresses to a single place

Also, update the L-root IPv6 Address

Closes #3533
Closes #3534

8 years agoUse another copyright keypoint
Pieter Lexis [Thu, 17 Mar 2016 08:57:53 +0000 (09:57 +0100)]
Use another copyright keypoint

8 years agoMerge pull request #3522 from rgacogne/dnsdist-carbon-names
bert hubert [Wed, 16 Mar 2016 11:25:14 +0000 (12:25 +0100)]
Merge pull request #3522 from rgacogne/dnsdist-carbon-names

dnsdist: Per-carbon server hostnames

8 years agoUpdate pdns/recursordist/Makefile.am: make curl show errors
Bas van Schaik [Wed, 16 Mar 2016 10:36:28 +0000 (10:36 +0000)]
Update pdns/recursordist/Makefile.am: make curl show errors

8 years agoUpdate pdns/Makefile.am: make curl report error on failure
Bas van Schaik [Wed, 16 Mar 2016 10:33:51 +0000 (10:33 +0000)]
Update pdns/Makefile.am: make curl report error on failure

By default 'curl -s' (for silent) will swallow any errors that occur during the retrieval of the URL. This makes problems rather difficult to debug. The '-S' flag changes this behaviour: "When used with -s it makes curl show an error message if it fails" (from the manpage)

8 years agoMerge pull request #3577 from Habbie/sdig-hidettl
Peter van Dijk [Tue, 15 Mar 2016 20:02:21 +0000 (21:02 +0100)]
Merge pull request #3577 from Habbie/sdig-hidettl

add hidettl flag to sdig

8 years agobindbackend: fix, set domain in list()
Kees Monshouwer [Tue, 15 Mar 2016 15:54:15 +0000 (16:54 +0100)]
bindbackend: fix, set domain in list()

8 years agoadd hidettl flag to sdig
Peter van Dijk [Tue, 15 Mar 2016 14:44:10 +0000 (15:44 +0100)]
add hidettl flag to sdig

8 years agowhitespace
Peter van Dijk [Tue, 15 Mar 2016 14:43:13 +0000 (15:43 +0100)]
whitespace

8 years agoMerge pull request #3576 from ekohl/simplify-example
Peter van Dijk [Tue, 15 Mar 2016 14:10:59 +0000 (15:10 +0100)]
Merge pull request #3576 from ekohl/simplify-example

Remove redundant rectify-zone command

8 years agoRemove redundant rectify-zone command
Ewoud Kohl van Wijngaarden [Tue, 15 Mar 2016 14:09:57 +0000 (15:09 +0100)]
Remove redundant rectify-zone command

8 years agoMerge pull request #3173 from pieterlexis/uri-and-caa
Peter van Dijk [Tue, 15 Mar 2016 14:06:57 +0000 (15:06 +0100)]
Merge pull request #3173 from pieterlexis/uri-and-caa

Add the URI and CAA record types

8 years agoMerge pull request #3571 from Habbie/zones-multiline-whitespace
Peter van Dijk [Tue, 15 Mar 2016 13:29:50 +0000 (14:29 +0100)]
Merge pull request #3571 from Habbie/zones-multiline-whitespace

strip all types of whitespace from around content while parsing zones, fixes #3568

8 years agoMerge pull request #3547 from rubenk/quote-all-the-things
Peter van Dijk [Tue, 15 Mar 2016 13:28:29 +0000 (14:28 +0100)]
Merge pull request #3547 from rubenk/quote-all-the-things

Add some missing quotes in configure.ac

8 years agoMerge pull request #3566 from Habbie/dyndns-osx
Peter van Dijk [Tue, 15 Mar 2016 13:28:02 +0000 (14:28 +0100)]
Merge pull request #3566 from Habbie/dyndns-osx

half-fix nsupdate test portability to osx, remaining issue is the -V argument to sort in mysqldiff

8 years agoMerge pull request #3567 from Habbie/dyndns-uint32_t
Peter van Dijk [Tue, 15 Mar 2016 13:27:51 +0000 (14:27 +0100)]
Merge pull request #3567 from Habbie/dyndns-uint32_t

fix negative number in logline

8 years agoMerge pull request #3570 from rgacogne/dnsdist-samples
Peter van Dijk [Tue, 15 Mar 2016 13:27:41 +0000 (14:27 +0100)]
Merge pull request #3570 from rgacogne/dnsdist-samples

dnsdist: Add rule samples to dnsdistconf.lua, fix the existing ones

8 years agoMerge pull request #3574 from pieterlexis/fix-centos6-dnsdist-builds
Peter van Dijk [Tue, 15 Mar 2016 13:26:36 +0000 (14:26 +0100)]
Merge pull request #3574 from pieterlexis/fix-centos6-dnsdist-builds

Fix CentOS 6 builds

8 years agoMerge pull request #3572 from pieterlexis/notify-in-tools-deb
Peter van Dijk [Tue, 15 Mar 2016 13:26:09 +0000 (14:26 +0100)]
Merge pull request #3572 from pieterlexis/notify-in-tools-deb

Ship the notify tool in the pdns-tools deb

8 years agoMerge pull request #3573 from rubenk/pdns-adjust-documentation-setting
Peter van Dijk [Tue, 15 Mar 2016 13:25:59 +0000 (14:25 +0100)]
Merge pull request #3573 from rubenk/pdns-adjust-documentation-setting

pdns: man pages are in section 1 now

8 years agoAdd the CAA record
Pieter Lexis [Tue, 5 Jan 2016 16:24:34 +0000 (17:24 +0100)]
Add the CAA record

8 years agoAdd xfrUnquotedText()
Pieter Lexis [Tue, 5 Jan 2016 16:14:53 +0000 (17:14 +0100)]
Add xfrUnquotedText()

8 years agoAdd URI QType
Pieter Lexis [Tue, 1 Dec 2015 16:22:59 +0000 (17:22 +0100)]
Add URI QType

8 years agoAdd a `lenField` option to xfrText()
Pieter Lexis [Tue, 1 Dec 2015 16:19:56 +0000 (17:19 +0100)]
Add a `lenField` option to xfrText()

This option (true by default) tells the writer/parser to add/read a
byte that is the length of the data following.

8 years agoUse devtoolset-3 on CentOS 6
Pieter Lexis [Tue, 15 Mar 2016 13:00:42 +0000 (14:00 +0100)]
Use devtoolset-3 on CentOS 6

8 years agoFix dnsdist builds for CentOS 6
Pieter Lexis [Tue, 15 Mar 2016 12:59:05 +0000 (13:59 +0100)]
Fix dnsdist builds for CentOS 6

8 years agodnsdist: add a --disable-syslog option
Pieter Lexis [Tue, 15 Mar 2016 10:52:46 +0000 (11:52 +0100)]
dnsdist: add a --disable-syslog option

This prevents double logging in e.g. systemd

8 years agoAdd a disable-syslog setting
Pieter Lexis [Tue, 15 Mar 2016 10:51:43 +0000 (11:51 +0100)]
Add a disable-syslog setting

This allows the use of e.g. the `Type=simple` in systemd and prevents
the double logging issue.

8 years agodnsdist: Add regression tests for Carbon
Remi Gacogne [Mon, 7 Mar 2016 16:38:25 +0000 (17:38 +0100)]
dnsdist: Add regression tests for Carbon

8 years agodnsdist: Per-carbon server hostnames
Remi Gacogne [Mon, 7 Mar 2016 14:20:12 +0000 (15:20 +0100)]
dnsdist: Per-carbon server hostnames

We used the last specified `ourname` for all servers. We still use
the first specified interval for all servers for now.

8 years agoauth: Fix reading invalid iterator in fillZone()
Remi Gacogne [Tue, 15 Mar 2016 09:10:59 +0000 (10:10 +0100)]
auth: Fix reading invalid iterator in fillZone()

Reported by coverity:
```
CID 1353069 (#1 of 1): Using invalid iterator (INVALIDATE_ITERATOR)

19. deref_iterator: Dereferencing iterator rit though it is already
past the end of its container.
```

8 years agoAdd some missing quotes in configure.ac
Ruben Kerkhof [Fri, 11 Mar 2016 10:07:32 +0000 (11:07 +0100)]
Add some missing quotes in configure.ac

8 years agoMerge pull request #3507 from zeha/hideapikey
Peter van Dijk [Tue, 15 Mar 2016 09:04:49 +0000 (10:04 +0100)]
Merge pull request #3507 from zeha/hideapikey

API: Mask out api-key in settings list

8 years agoMerge pull request #3495 from zeha/forjeeves
Peter van Dijk [Tue, 15 Mar 2016 09:04:40 +0000 (10:04 +0100)]
Merge pull request #3495 from zeha/forjeeves

Add /api discovery endpoint

8 years agoMerge pull request #3415 from ahupowerdns/clearzone
Peter van Dijk [Tue, 15 Mar 2016 09:04:00 +0000 (10:04 +0100)]
Merge pull request #3415 from ahupowerdns/clearzone

pdnsutil clearzone allows operator to remove all records of a zone but leave everything else in place

8 years agoMerge pull request #3389 from pieterlexis/pdnsutil-chroot
Peter van Dijk [Tue, 15 Mar 2016 09:02:52 +0000 (10:02 +0100)]
Merge pull request #3389 from pieterlexis/pdnsutil-chroot

pdnsutil: support chroot

8 years agoMerge pull request #3562 from rubenk/remotebackend-remove-unused-automake-variable
Peter van Dijk [Tue, 15 Mar 2016 09:01:25 +0000 (10:01 +0100)]
Merge pull request #3562 from rubenk/remotebackend-remove-unused-automake-variable

We no longer rely on boost serialization

8 years agoMerge pull request #3558 from rubenk/pdns-recursor-fix-building-on-OSX
Peter van Dijk [Tue, 15 Mar 2016 09:01:11 +0000 (10:01 +0100)]
Merge pull request #3558 from rubenk/pdns-recursor-fix-building-on-OSX

pdns-recursor: fix build failure on OSX

8 years agoMerge pull request #3554 from nlyan/ctxlinkfixes
Peter van Dijk [Tue, 15 Mar 2016 09:00:32 +0000 (10:00 +0100)]
Merge pull request #3554 from nlyan/ctxlinkfixes

Fix Boost component library detection on ARM64 etc.

8 years agoMerge pull request #3549 from rubenk/dont-break-vim-syntax-highlighting
Peter van Dijk [Tue, 15 Mar 2016 08:59:23 +0000 (09:59 +0100)]
Merge pull request #3549 from rubenk/dont-break-vim-syntax-highlighting

Single single quotes break Vim highlighting

8 years agoMerge pull request #3546 from rubenk/dnsdist-needs-autoconf-2.61
Peter van Dijk [Tue, 15 Mar 2016 08:58:49 +0000 (09:58 +0100)]
Merge pull request #3546 from rubenk/dnsdist-needs-autoconf-2.61

Dnsdist needs Autoconf >= 2.61 for Boost macros

8 years agoMerge pull request #3545 from rubenk/recursor-needs-autoconf-2.61
Peter van Dijk [Tue, 15 Mar 2016 08:58:42 +0000 (09:58 +0100)]
Merge pull request #3545 from rubenk/recursor-needs-autoconf-2.61

Recursor needs Autoconf >= 2.61 for Boost macros

8 years agoMerge pull request #3541 from rubenk/spec-point-to-https-url
Peter van Dijk [Tue, 15 Mar 2016 08:57:46 +0000 (09:57 +0100)]
Merge pull request #3541 from rubenk/spec-point-to-https-url

Specs: use https url for powerdns.com

8 years agoMerge pull request #3540 from rubenk/remove-unused-recursor-spec
Peter van Dijk [Tue, 15 Mar 2016 08:57:26 +0000 (09:57 +0100)]
Merge pull request #3540 from rubenk/remove-unused-recursor-spec

Remove unused pdns-recursor.spec

8 years agostrip all types of whitespace from around content while parsing zones, fixes #3568
Peter van Dijk [Mon, 14 Mar 2016 15:01:24 +0000 (16:01 +0100)]
strip all types of whitespace from around content while parsing zones, fixes #3568

8 years agopdns: man pages are in section 1 now
Ruben Kerkhof [Mon, 14 Mar 2016 21:24:11 +0000 (22:24 +0100)]
pdns: man pages are in section 1 now

e9046db moved all our manpages to section 1.

8 years agodnsdist: Add rule samples to dnsdistconf.lua, fix the existing ones
Remi Gacogne [Mon, 14 Mar 2016 14:47:26 +0000 (15:47 +0100)]
dnsdist: Add rule samples to dnsdistconf.lua, fix the existing ones

8 years agoShip the notify tool in the pdns-tools deb
Pieter Lexis [Mon, 14 Mar 2016 09:35:03 +0000 (10:35 +0100)]
Ship the notify tool in the pdns-tools deb

8 years agofix negative number in logline
Peter van Dijk [Mon, 14 Mar 2016 13:32:43 +0000 (14:32 +0100)]
fix negative number in logline

8 years agohalf-fix nsupdate test portability to osx, remaining issue is the -V argument to...
Peter van Dijk [Mon, 14 Mar 2016 13:23:36 +0000 (14:23 +0100)]
half-fix nsupdate test portability to osx, remaining issue is the -V argument to sort in mysqldiff

8 years agoMerge pull request #3564 from rgacogne/dnsdist-readn2-eagain
Remi Gacogne [Mon, 14 Mar 2016 10:42:57 +0000 (11:42 +0100)]
Merge pull request #3564 from rgacogne/dnsdist-readn2-eagain

dnsdist: Add more information when readn2 fails because of EAGAIN

8 years agoSmall fixes reported by coverity
Remi Gacogne [Mon, 14 Mar 2016 10:38:34 +0000 (11:38 +0100)]
Small fixes reported by coverity

8 years agodnsdist: Add more information when readn2 fails because of EAGAIN
Remi Gacogne [Mon, 14 Mar 2016 09:22:08 +0000 (10:22 +0100)]
dnsdist: Add more information when readn2 fails because of EAGAIN

8 years agoWe no longer rely on boost serialization
Ruben Kerkhof [Sun, 13 Mar 2016 15:43:22 +0000 (16:43 +0100)]
We no longer rely on boost serialization

5b71a3b removed the autoconf check for BOOST_SERIALIZATION.
Remove the variable since this now doesn't do anything.

8 years agomake sure ednsoptions.hh gets distributed, fixing build on our builder infrastructure...
bert hubert [Sat, 12 Mar 2016 19:23:16 +0000 (20:23 +0100)]
make sure ednsoptions.hh gets distributed, fixing build on our builder infrastructure, which builds from make dist

8 years agopdns-recursor: fix build failure on OSX
Ruben Kerkhof [Sat, 12 Mar 2016 18:13:29 +0000 (19:13 +0100)]
pdns-recursor: fix build failure on OSX

Using OpenSSL from Homebrew, by doing
./configure --with-openssl=/Users/ruben/homebrew/Cellar/openssl/1.0.2g

Results in:

/Library/Developer/CommandLineTools/usr/bin/make  all-am
CXX      base64.o
base64.cc:7:10: fatal error: 'openssl/bio.h' file not found
     ^
1 error generated.

8 years agoMerge pull request #3557 from rubenk/pdns-fix-building-on-osx
Peter van Dijk [Sat, 12 Mar 2016 17:47:47 +0000 (18:47 +0100)]
Merge pull request #3557 from rubenk/pdns-fix-building-on-osx

pdns: Fix build on OSX

8 years agonits
bert hubert [Sat, 12 Mar 2016 13:05:11 +0000 (14:05 +0100)]
nits

8 years agowe lied in our description of secure-zone: we no longer add all those keys
bert hubert [Sat, 12 Mar 2016 13:00:35 +0000 (14:00 +0100)]
we lied in our description of secure-zone: we no longer add all those keys

8 years agopdns: Fix build on OSX
Ruben Kerkhof [Sat, 12 Mar 2016 11:59:22 +0000 (12:59 +0100)]
pdns: Fix build on OSX

Using OpenSSL from Homebrew, by doing
./configure --with-openssl=/Users/ruben/homebrew/Cellar/openssl/1.0.2g

Results in:

Making all in pdns
/Library/Developer/CommandLineTools/usr/bin/make  all-am
  CXX      base64.o
base64.cc:7:10: fatal error: 'openssl/bio.h' file not found
         ^
1 error generated.

8 years agoMerge pull request #3556 from rgacogne/dnsdist-tcp-max-queued
bert hubert [Fri, 11 Mar 2016 20:57:30 +0000 (21:57 +0100)]
Merge pull request #3556 from rgacogne/dnsdist-tcp-max-queued

dnsdist: Add an option to limit the number of queued TCP connections

8 years agoMerge pull request #3537 from rgacogne/rec-gettag-ecs
bert hubert [Fri, 11 Mar 2016 20:57:11 +0000 (21:57 +0100)]
Merge pull request #3537 from rgacogne/rec-gettag-ecs

rec: Handle multiple EDNS0 Options in gettag

8 years agoMerge pull request #3548 from rubenk/bump-copyright-year
bert hubert [Fri, 11 Mar 2016 20:56:49 +0000 (21:56 +0100)]
Merge pull request #3548 from rubenk/bump-copyright-year

Bump copyright year

8 years agoMerge pull request #3551 from rubenk/include-endian-h-on-freebsd
bert hubert [Fri, 11 Mar 2016 20:56:34 +0000 (21:56 +0100)]
Merge pull request #3551 from rubenk/include-endian-h-on-freebsd

Dnsdist: include <sys/endian.h> on FreeBSD

8 years agoMerge pull request #3550 from rubenk/fix-build-failure-on-freebsd
bert hubert [Fri, 11 Mar 2016 20:56:17 +0000 (21:56 +0100)]
Merge pull request #3550 from rubenk/fix-build-failure-on-freebsd

Dnsdist: Fix build failure on FreeBSD

8 years agoMerge pull request #3538 from rgacogne/dnsdist-api-tests
Remi Gacogne [Fri, 11 Mar 2016 16:54:54 +0000 (17:54 +0100)]
Merge pull request #3538 from rgacogne/dnsdist-api-tests

dnsdist: Add API regression tests

8 years agoMerge pull request #3539 from rgacogne/dnsdist-fix-printing-empty-cache
Remi Gacogne [Fri, 11 Mar 2016 16:50:54 +0000 (17:50 +0100)]
Merge pull request #3539 from rgacogne/dnsdist-fix-printing-empty-cache

dnsdist: Don't crash when calling cache functions with nil on the console

8 years agoAdd ifdef HAVE_CONFIG_H
Andrew Nelless [Fri, 11 Mar 2016 16:26:38 +0000 (16:26 +0000)]
Add ifdef HAVE_CONFIG_H

8 years agodnsdist: Add an option to limit the number of queued TCP connections
Remi Gacogne [Fri, 11 Mar 2016 15:31:24 +0000 (16:31 +0100)]
dnsdist: Add an option to limit the number of queued TCP connections

By default, if all TCP threads are busy we will queue incoming TCP
connections until the communication pipes are full.
In some setup, we might run out of file descriptors quickly,
causing new TCP connections but also health checks, web requests,
console connections to fail.
This new `setMaxTCPQueuedConnections()` option limits the number of
queued connections, dropping new ones when the threshold is
reached.

8 years agoMerge pull request #3553 from ahupowerdns/fixbits
bert hubert [Fri, 11 Mar 2016 14:42:18 +0000 (15:42 +0100)]
Merge pull request #3553 from ahupowerdns/fixbits

get number of key bits for presigned zone show-zone properly

8 years agoFix Boost component library detection.
Andrew Nelless [Thu, 10 Mar 2016 19:59:50 +0000 (19:59 +0000)]
Fix Boost component library detection.

On some platforms the Boost context headers are being shipped on
architectures where the library can't be built. Here we patch
boost.m4 to set HAVE_BOOST_<component> definitions based on
whether the library actually exists.

This should also fix builds against Boost 1.58.0, which shipped
a broken context/all.hpp header when compiling in modes before
C++14 (see: https://svn.boost.org/trac/boost/ticket/11223 )

8 years agoget number of key bits for presigned zone show-zone properly
bert hubert [Fri, 11 Mar 2016 13:06:29 +0000 (14:06 +0100)]
get number of key bits for presigned zone show-zone properly

8 years agoDnsdist: include <sys/endian.h> on FreeBSD
Ruben Kerkhof [Fri, 11 Mar 2016 12:07:27 +0000 (13:07 +0100)]
Dnsdist: include <sys/endian.h> on FreeBSD

Fixes:
In file included from dnsdist.hh:6:0,
                 from dnsdist.cc:23:
iputils.hh: In member function 'NetmaskTree<T>::node_type& NetmaskTree<T>::insert(const key_type&)':
iputils.hh:532:73: error: there are no arguments to 'be32toh' that depend on a template parameter, so a declaration of 'be32toh' must be available [-fpermissive]
       std::bitset<32> addr(be32toh(key.getNetwork().sin4.sin_addr.s_addr));
                                                                         ^

When building with g++

8 years agoDnsdist: Fix build failure on FreeBSD
Ruben Kerkhof [Fri, 11 Mar 2016 10:57:05 +0000 (11:57 +0100)]
Dnsdist: Fix build failure on FreeBSD

YaHTTP needs Boost headers, and those are in /usr/local/include on FreeBSD.

Append BOOST_CPPFLAGS to AM_CPPFLAGS in configure.ac, so every Makefile uses them.
Also set the compiler flags globally, so that we compile yahttp with the same settings.

Fixes "/reqresp.hpp:7:10: fatal error: 'boost/function.hpp' file not found"

8 years agoSingle single quotes break Vim highlighting
Ruben Kerkhof [Fri, 11 Mar 2016 10:16:56 +0000 (11:16 +0100)]
Single single quotes break Vim highlighting

8 years agoBump copyright year
Ruben Kerkhof [Fri, 11 Mar 2016 10:11:18 +0000 (11:11 +0100)]
Bump copyright year

8 years agoDnsdist needs Autoconf >= 2.61 for Boost macros
Ruben Kerkhof [Fri, 11 Mar 2016 09:59:28 +0000 (10:59 +0100)]
Dnsdist needs Autoconf >= 2.61 for Boost macros