]> granicus.if.org Git - pdns/log
pdns
6 years agoLuaWrapper: Add support for handling specialized unordered map as tables
Remi Gacogne [Thu, 28 Jun 2018 09:04:49 +0000 (11:04 +0200)]
LuaWrapper: Add support for handling specialized unordered map as tables

6 years agoMerge pull request #6697 from jsoref/rec_control_tmp
Pieter Lexis [Thu, 21 Jun 2018 15:49:54 +0000 (17:49 +0200)]
Merge pull request #6697 from jsoref/rec_control_tmp

Recursor: try to document how to handle systemd private tmp

6 years agoMerge pull request #6733 from rgacogne/rec-multi-rpz
Pieter Lexis [Thu, 21 Jun 2018 15:47:10 +0000 (17:47 +0200)]
Merge pull request #6733 from rgacogne/rec-multi-rpz

rec: Add support for multiple rpz masters as failover

6 years agoMerge pull request #6740 from rgacogne/dnsdist-packetcache-neg-ttl
Pieter Lexis [Thu, 21 Jun 2018 15:46:49 +0000 (17:46 +0200)]
Merge pull request #6740 from rgacogne/dnsdist-packetcache-neg-ttl

 dnsdist: Add a negative TTL option to the packet cache

6 years agoMerge pull request #6741 from rgacogne/rec-forward-recurse-aa-cache
Pieter Lexis [Thu, 21 Jun 2018 15:45:21 +0000 (17:45 +0200)]
Merge pull request #6741 from rgacogne/rec-forward-recurse-aa-cache

rec: Don't require authoritative answers for forward-recurse zones

6 years agoMerge pull request #6745 from rubenk/fix-typo-in-recursor-docs
Pieter Lexis [Thu, 21 Jun 2018 15:43:56 +0000 (17:43 +0200)]
Merge pull request #6745 from rubenk/fix-typo-in-recursor-docs

Fix a typo in the recursor docs

6 years agoMerge pull request #6746 from rubenk/document-default-for-pdns-distributes-queries
Pieter Lexis [Thu, 21 Jun 2018 15:43:45 +0000 (17:43 +0200)]
Merge pull request #6746 from rubenk/document-default-for-pdns-distributes-queries

pdns-distributes-queries is on by default

6 years agopdns-distributes-queries is on by default
Ruben Kerkhof [Thu, 21 Jun 2018 09:24:20 +0000 (11:24 +0200)]
pdns-distributes-queries is on by default

Document this

6 years agoFix a typo in the recursor docs
Ruben Kerkhof [Thu, 21 Jun 2018 08:42:12 +0000 (10:42 +0200)]
Fix a typo in the recursor docs

6 years agoMerge pull request #6495 from Habbie/parse-resolvconf-once
Remi Gacogne [Thu, 21 Jun 2018 07:59:45 +0000 (09:59 +0200)]
Merge pull request #6495 from Habbie/parse-resolvconf-once

only parse resolv.conf once - this avoids race conditions

6 years agoMerge pull request #6713 from mind04/bogus-ring
Remi Gacogne [Thu, 21 Jun 2018 07:58:32 +0000 (09:58 +0200)]
Merge pull request #6713 from mind04/bogus-ring

rec: add bogus ring to make it more easy to detect high profile domains with broken dnssec

6 years agorec: update the validation state when we replace an existing entry in the packet...
Kees Monshouwer [Wed, 20 Jun 2018 11:59:05 +0000 (13:59 +0200)]
rec: update the validation state when we replace an existing entry in the packet cache

6 years agorec: move bogus ring from packet cache to doProcessUDPQuestion()
Kees Monshouwer [Mon, 18 Jun 2018 19:32:25 +0000 (21:32 +0200)]
rec: move bogus ring from packet cache to doProcessUDPQuestion()

6 years agorec: Don't require authoritative answers for forward-recurse zones
Remi Gacogne [Fri, 15 Jun 2018 15:01:07 +0000 (17:01 +0200)]
rec: Don't require authoritative answers for forward-recurse zones

6 years agoMerge pull request #6589 from chbruyand/rec-lua-maintenance
Remi Gacogne [Fri, 15 Jun 2018 12:39:47 +0000 (14:39 +0200)]
Merge pull request #6589 from chbruyand/rec-lua-maintenance

rec: Add lua maintenance callback

6 years agoMerge pull request #6692 from Habbie/reorder-subdirs
Remi Gacogne [Fri, 15 Jun 2018 12:31:38 +0000 (14:31 +0200)]
Merge pull request #6692 from Habbie/reorder-subdirs

auth: reorder SUBDIRS

6 years agoMerge pull request #6695 from zeha/doc-dnssec-cd
Remi Gacogne [Fri, 15 Jun 2018 12:31:12 +0000 (14:31 +0200)]
Merge pull request #6695 from zeha/doc-dnssec-cd

Tiny Recursor dnssec doc improvements

6 years agoMerge pull request #6725 from zeha/docs-table-size
Remi Gacogne [Fri, 15 Jun 2018 12:30:11 +0000 (14:30 +0200)]
Merge pull request #6725 from zeha/docs-table-size

docs/dnssec: improve HTML rendering of table

6 years agoMerge pull request #6739 from ahupowerdns/dedup-rhel6-fix
Peter van Dijk [Thu, 14 Jun 2018 20:38:39 +0000 (22:38 +0200)]
Merge pull request #6739 from ahupowerdns/dedup-rhel6-fix

fix up compilation on rhel6 for dedup speedup in auth

6 years agodnsdist: Add a negative TTL option to the packet cache
Remi Gacogne [Wed, 13 Jun 2018 08:35:55 +0000 (10:35 +0200)]
dnsdist: Add a negative TTL option to the packet cache

Also add unit tests for the standalone functions in dnsparser.cc

6 years agodnsdist: Pass the correct section to the 'editTTLs' callback
Remi Gacogne [Wed, 13 Jun 2018 16:27:37 +0000 (18:27 +0200)]
dnsdist: Pass the correct section to the 'editTTLs' callback

6 years agofix up compilation on rhel6 for dedup speedup in auth
bert hubert [Thu, 14 Jun 2018 15:08:13 +0000 (17:08 +0200)]
fix up compilation on rhel6 for dedup speedup in auth

6 years agoMerge pull request #6730 from ahupowerdns/dedup-speedup
bert hubert [Thu, 14 Jun 2018 10:10:42 +0000 (12:10 +0200)]
Merge pull request #6730 from ahupowerdns/dedup-speedup

Implement a smarter dedup for filling packets in auth

6 years agoMerge pull request #6735 from rgacogne/rpz-ixfr-api-tests-fix
Remi Gacogne [Wed, 13 Jun 2018 12:35:45 +0000 (14:35 +0200)]
Merge pull request #6735 from rgacogne/rpz-ixfr-api-tests-fix

rec: Add full AXFR in the middle of IXFR, API checks in RPZ tests

6 years agospeed up dedup code, use less memory
bert hubert [Wed, 13 Jun 2018 08:47:50 +0000 (10:47 +0200)]
speed up dedup code, use less memory

6 years agorec: Add full AXFR in the middle of IXFR, API checks in RPZ tests
Remi Gacogne [Wed, 13 Jun 2018 07:24:35 +0000 (09:24 +0200)]
rec: Add full AXFR in the middle of IXFR, API checks in RPZ tests

6 years agorec: Add support for multiple rpz masters as failover
Remi Gacogne [Tue, 12 Jun 2018 14:36:39 +0000 (16:36 +0200)]
rec: Add support for multiple rpz masters as failover

6 years agoMerge pull request #6722 from rgacogne/rec-rpz-ixfr-tests
Remi Gacogne [Tue, 12 Jun 2018 13:49:18 +0000 (15:49 +0200)]
Merge pull request #6722 from rgacogne/rec-rpz-ixfr-tests

rec: Add some regression tests for RPZ over AXFR and IXFR

6 years agoimprove comments, clean up code a bit
bert hubert [Tue, 12 Jun 2018 13:30:56 +0000 (15:30 +0200)]
improve comments, clean up code a bit

6 years agoImplement a smarter dedup for filling packets in auth
bert hubert [Tue, 12 Jun 2018 13:18:12 +0000 (15:18 +0200)]
Implement a smarter dedup for filling packets in auth

6 years agoMerge pull request #6715 from rgacogne/dnsdist-console-nokey
Remi Gacogne [Tue, 12 Jun 2018 12:00:01 +0000 (14:00 +0200)]
Merge pull request #6715 from rgacogne/dnsdist-console-nokey

dnsdist: Refuse console connection without a proper key set

6 years agoMerge pull request #6729 from rgacogne/packetcache-ttl-test-6578
Remi Gacogne [Tue, 12 Jun 2018 11:51:24 +0000 (13:51 +0200)]
Merge pull request #6729 from rgacogne/packetcache-ttl-test-6578

auth: Increase the packet cache TTL in our unit tests

6 years agorec: Add some regression tests for RPZ over AXFR and IXFR
Remi Gacogne [Thu, 7 Jun 2018 16:57:03 +0000 (18:57 +0200)]
rec: Add some regression tests for RPZ over AXFR and IXFR

6 years agoauth: Increase the packet cache TTL in our unit tests
Remi Gacogne [Mon, 11 Jun 2018 15:36:36 +0000 (17:36 +0200)]
auth: Increase the packet cache TTL in our unit tests

Hopefully this will lower the risks of failure on slow hosts, like
our pi builder.

6 years agodnsdist: Mention earlier that libsodium is required for console encryption
Remi Gacogne [Mon, 11 Jun 2018 13:36:00 +0000 (15:36 +0200)]
dnsdist: Mention earlier that libsodium is required for console encryption

6 years agodnsdist: Fix a typo in one of the console error messages
Remi Gacogne [Mon, 11 Jun 2018 13:31:19 +0000 (15:31 +0200)]
dnsdist: Fix a typo in one of the console error messages

6 years agoMerge pull request #6718 from rgacogne/dnsdist-web-decimals
Remi Gacogne [Mon, 11 Jun 2018 13:02:31 +0000 (15:02 +0200)]
Merge pull request #6718 from rgacogne/dnsdist-web-decimals

dnsdist: Limit QPS and latency to two decimals in the web view

6 years agoMerge pull request #6627 from rgacogne/rec-truncated-queries
Remi Gacogne [Mon, 11 Jun 2018 07:37:51 +0000 (09:37 +0200)]
Merge pull request #6627 from rgacogne/rec-truncated-queries

rec: Drop queries truncated because they were larger than our buffer

6 years agodocs/dnssec: improve HTML rendering of table
Chris Hofstaedtler [Tue, 29 May 2018 22:25:32 +0000 (00:25 +0200)]
docs/dnssec: improve HTML rendering of table

6 years agoMerge pull request #6563 from pieterlexis/dnsdist-droprate-in-API
Remi Gacogne [Fri, 8 Jun 2018 07:24:25 +0000 (09:24 +0200)]
Merge pull request #6563 from pieterlexis/dnsdist-droprate-in-API

dnsdist: show droprate in API output

6 years agoMerge pull request #6724 from setharnold/patch-7
bert hubert [Fri, 8 Jun 2018 06:44:15 +0000 (08:44 +0200)]
Merge pull request #6724 from setharnold/patch-7

add missing word 'impact' to the documentation

6 years agorec: Resize the incoming query buffer to 512 after each query
Remi Gacogne [Fri, 1 Jun 2018 10:07:11 +0000 (12:07 +0200)]
rec: Resize the incoming query buffer to 512 after each query

6 years agorec: Use a 512-byte buffer for incoming queries instead of 1500
Remi Gacogne [Fri, 1 Jun 2018 10:05:15 +0000 (12:05 +0200)]
rec: Use a 512-byte buffer for incoming queries instead of 1500

6 years agorec: Drop queries truncated because they were larger than our buffer
Remi Gacogne [Fri, 18 May 2018 13:57:06 +0000 (15:57 +0200)]
rec: Drop queries truncated because they were larger than our buffer

6 years agoadd missing word 'impact'
setharnold [Fri, 8 Jun 2018 01:22:53 +0000 (18:22 -0700)]
add missing word 'impact'

6 years agoMerge pull request #6716 from rgacogne/dnsdist-tcp-vector-size
Remi Gacogne [Thu, 7 Jun 2018 14:35:49 +0000 (16:35 +0200)]
Merge pull request #6716 from rgacogne/dnsdist-tcp-vector-size

dnsdist: Don't access the TCP buffer vector past its size

6 years agoMerge pull request #6717 from phonedph1/patch-4
Remi Gacogne [Thu, 7 Jun 2018 13:30:58 +0000 (15:30 +0200)]
Merge pull request #6717 from phonedph1/patch-4

Update timedipsetrule.rst

6 years agodnsdist: Limit QPS and latency to two decimals in the web view
Remi Gacogne [Wed, 6 Jun 2018 12:53:41 +0000 (14:53 +0200)]
dnsdist: Limit QPS and latency to two decimals in the web view

6 years agodnsdist: Clarify that local connections to the console should be encrypted too
Remi Gacogne [Wed, 6 Jun 2018 12:32:33 +0000 (14:32 +0200)]
dnsdist: Clarify that local connections to the console should be encrypted too

6 years agoMerge pull request #6711 from chbruyand/dnsdist-connection-close
Remi Gacogne [Wed, 6 Jun 2018 09:51:57 +0000 (11:51 +0200)]
Merge pull request #6711 from chbruyand/dnsdist-connection-close

dnsdist: default set "Connection: close" header for web requests

6 years agoMerge pull request #6710 from rgacogne/dnsdist-dynblocks-duration-test
Remi Gacogne [Wed, 6 Jun 2018 09:51:31 +0000 (11:51 +0200)]
Merge pull request #6710 from rgacogne/dnsdist-dynblocks-duration-test

dnsdist: Test the content of dynamic blocks using the API

6 years agodnsdist: Remove left-over debug message in the console code
Remi Gacogne [Wed, 6 Jun 2018 08:34:44 +0000 (10:34 +0200)]
dnsdist: Remove left-over debug message in the console code

6 years agorec: REALLY restrict maintenance() callback to worker threads
Charles-Henri Bruyand [Wed, 6 Jun 2018 07:22:12 +0000 (09:22 +0200)]
rec: REALLY restrict maintenance() callback to worker threads

6 years agobump version as 4.1.3 has been released
Charles-Henri Bruyand [Wed, 6 Jun 2018 07:02:53 +0000 (09:02 +0200)]
bump version as 4.1.3 has been released

6 years ago"Connection: close" is not a security header
Charles-Henri Bruyand [Wed, 6 Jun 2018 06:49:39 +0000 (08:49 +0200)]
"Connection: close" is not a security header

6 years agoUpdate timedipsetrule.rst
phonedph1 [Wed, 6 Jun 2018 01:58:37 +0000 (19:58 -0600)]
Update timedipsetrule.rst

I think this makes more sense based on what it does and to match the overall description.

Also fix typo in differently.

6 years agorec: add cached bogus answers to the statistics
Kees Monshouwer [Tue, 5 Jun 2018 00:16:26 +0000 (02:16 +0200)]
rec: add cached bogus answers to the statistics

6 years agodnsdist: Don't access the TCP buffer vector past its size
Remi Gacogne [Tue, 5 Jun 2018 22:10:13 +0000 (00:10 +0200)]
dnsdist: Don't access the TCP buffer vector past its size

The required memory has been reserve()'d, but we are not allowed to
access it directly, and it breaks when compiled with the following
flag, checking any access to containers as if .at() were used:

-D_GLIBCXX_ASSERTIONS

6 years agodnsdist: Refuse console connection without a proper key set
Remi Gacogne [Tue, 5 Jun 2018 21:28:31 +0000 (23:28 +0200)]
dnsdist: Refuse console connection without a proper key set

6 years agodnsdist: default set "Connection: close" header for web requests
Charles-Henri Bruyand [Tue, 5 Jun 2018 15:42:38 +0000 (17:42 +0200)]
dnsdist: default set "Connection: close" header for web requests

6 years agodnsdist: Test the content of dynamic blocks using the API
Remi Gacogne [Tue, 5 Jun 2018 11:49:07 +0000 (13:49 +0200)]
dnsdist: Test the content of dynamic blocks using the API

6 years agoMerge pull request #6705 from ahupowerdns/recursor-tracelog-improv
Remi Gacogne [Tue, 5 Jun 2018 07:29:32 +0000 (09:29 +0200)]
Merge pull request #6705 from ahupowerdns/recursor-tracelog-improv

slightly improve DNSSEC trace logging

6 years agoMerge pull request #6707 from rgacogne/shadowed-vars
Remi Gacogne [Tue, 5 Jun 2018 07:29:20 +0000 (09:29 +0200)]
Merge pull request #6707 from rgacogne/shadowed-vars

rec: Fix some warnings reported by GCC

6 years agorec: add bogus ringbuffer to make it more easy to detect high profile bogus domains
Kees Monshouwer [Mon, 4 Jun 2018 22:31:20 +0000 (00:31 +0200)]
rec: add bogus ringbuffer to make it more easy to detect high profile bogus domains

6 years agoMerge pull request #6706 from claranet/fix-dynblock-duration
Remi Gacogne [Mon, 4 Jun 2018 15:31:37 +0000 (17:31 +0200)]
Merge pull request #6706 from claranet/fix-dynblock-duration

Dynamic blocks were being created with the wrong duration

6 years agoDynamic blocks were being created with the wrong duration (the detection interval...
David Freedman [Mon, 4 Jun 2018 11:59:37 +0000 (12:59 +0100)]
Dynamic blocks were being created with the wrong duration (the detection interval was being used).

6 years agoslightly improve DNSSEC trace logging
bert hubert [Mon, 4 Jun 2018 12:54:43 +0000 (14:54 +0200)]
slightly improve DNSSEC trace logging

6 years agoFix a GCC warning about strncpy()
Remi Gacogne [Mon, 4 Jun 2018 09:49:50 +0000 (11:49 +0200)]
Fix a GCC warning about strncpy()

We always NULL-terminate the string anyway, but let's make the
compiler happy.

6 years agoFix some shadowed variables reported by GCC with -Wshadow
Remi Gacogne [Mon, 4 Jun 2018 09:48:59 +0000 (11:48 +0200)]
Fix some shadowed variables reported by GCC with -Wshadow

6 years agoMerge pull request #6701 from rgacogne/nits-cppcheck
Remi Gacogne [Fri, 1 Jun 2018 14:49:37 +0000 (16:49 +0200)]
Merge pull request #6701 from rgacogne/nits-cppcheck

Fix minor warnings reported by the compiler or cppcheck

6 years agorec: Remove unused lambda capture 'checkOnly' in the rpzMaster()
Remi Gacogne [Tue, 29 May 2018 14:14:16 +0000 (16:14 +0200)]
rec: Remove unused lambda capture 'checkOnly' in the rpzMaster()

6 years agorec: Pass the remote logger to asyncresolve() by reference
Remi Gacogne [Tue, 29 May 2018 14:13:44 +0000 (16:13 +0200)]
rec: Pass the remote logger to asyncresolve() by reference

6 years agoauth: Pass signQName to getRRSIGsForRRSET / addSignature by ref
Remi Gacogne [Tue, 29 May 2018 14:12:35 +0000 (16:12 +0200)]
auth: Pass signQName to getRRSIGsForRRSET / addSignature by ref

6 years agoGeoIP: Fix a struct/class mixup
Remi Gacogne [Tue, 29 May 2018 14:11:57 +0000 (16:11 +0200)]
GeoIP: Fix a struct/class mixup

6 years agoixfrdist: Fix a NULL-pointer dereference on a non-existing UID
Remi Gacogne [Tue, 29 May 2018 14:11:04 +0000 (16:11 +0200)]
ixfrdist: Fix a NULL-pointer dereference on a non-existing UID

Reported by cppcheck.

6 years agoMerge pull request #6699 from rgacogne/EDNS0Record-trivial
Remi Gacogne [Fri, 1 Jun 2018 07:07:41 +0000 (09:07 +0200)]
Merge pull request #6699 from rgacogne/EDNS0Record-trivial

Revert EDNS0Record to a trivial type

6 years agoRevert EDNS0Record to a trivial type
Remi Gacogne [Thu, 31 May 2018 14:26:39 +0000 (16:26 +0200)]
Revert EDNS0Record to a trivial type

Adding brace initializers makes it non-trivial, which does not seem
like a very good idea for a packed structure.
gcc 8.1.0 complains with:

```
warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘struct EDNS0Record’ from an array of ‘uint32_t’ {aka ‘unsigned int’} [-Wclass-memaccess]
         memcpy(&stuff, &ttl, sizeof(stuff));
```

6 years agoMerge pull request #6691 from zeha/dl-slaverenotify
Peter van Dijk [Thu, 31 May 2018 10:54:00 +0000 (12:54 +0200)]
Merge pull request #6691 from zeha/dl-slaverenotify

pdns_control notify: handle slave w/o renotify properly

6 years agoRecursor: try to document how to handle systemd private tmp
Josh Soref [Thu, 31 May 2018 05:20:15 +0000 (05:20 +0000)]
Recursor: try to document how to handle systemd private tmp

6 years agoMerge pull request #6281 from pieterlexis/rec-server-id
Remi Gacogne [Wed, 30 May 2018 10:02:22 +0000 (12:02 +0200)]
Merge pull request #6281 from pieterlexis/rec-server-id

Recursor: properly truncate with EDNS, do what `server-id` promises and add NSID support

6 years agorec: advertise 512 bytes as max query size
Pieter Lexis [Fri, 18 May 2018 16:30:49 +0000 (18:30 +0200)]
rec: advertise 512 bytes as max query size

6 years agoEDNS: ensure the NSID fits in the return packet
Pieter Lexis [Thu, 19 Apr 2018 09:01:13 +0000 (11:01 +0200)]
EDNS: ensure the NSID fits in the return packet

6 years agogetEDNSOpts: use getRR
Pieter Lexis [Thu, 19 Apr 2018 08:49:56 +0000 (10:49 +0200)]
getEDNSOpts: use getRR

6 years agoEDNS: Ensure not query processing happens on EDNS error
Pieter Lexis [Thu, 19 Apr 2018 08:27:00 +0000 (10:27 +0200)]
EDNS: Ensure not query processing happens on EDNS error

6 years agoMore EDNS tests
Pieter Lexis [Thu, 19 Apr 2018 08:10:07 +0000 (10:10 +0200)]
More EDNS tests

6 years agorec: initialize variableAnswer with dc->d_variable
Pieter Lexis [Tue, 17 Apr 2018 16:27:40 +0000 (18:27 +0200)]
rec: initialize variableAnswer with dc->d_variable

6 years agoEDNS trunc test: add <512 bytes test
Pieter Lexis [Tue, 17 Apr 2018 16:13:17 +0000 (18:13 +0200)]
EDNS trunc test: add <512 bytes test

6 years agoEDNS trunc test: fix table
Pieter Lexis [Tue, 17 Apr 2018 16:10:50 +0000 (18:10 +0200)]
EDNS trunc test: fix table

6 years agoEDNS: rename Z to extFlags, use uints
Pieter Lexis [Tue, 17 Apr 2018 14:40:48 +0000 (16:40 +0200)]
EDNS: rename Z to extFlags, use uints

Also, constlify some EDNS related functions.

6 years agodnswriter: use uint for extended rcode
Pieter Lexis [Tue, 17 Apr 2018 13:45:25 +0000 (15:45 +0200)]
dnswriter: use uint for extended rcode

6 years agoAdd truncation tests with and without EDNS
Pieter Lexis [Wed, 11 Apr 2018 16:00:35 +0000 (18:00 +0200)]
Add truncation tests with and without EDNS

6 years agocall getHostname
Pieter Lexis [Mon, 9 Apr 2018 13:55:00 +0000 (15:55 +0200)]
call getHostname

6 years agoFix review comments
Pieter Lexis [Wed, 4 Apr 2018 10:42:29 +0000 (12:42 +0200)]
Fix review comments

6 years agoAdd tests for NSID and version.bind
Pieter Lexis [Thu, 22 Mar 2018 11:48:55 +0000 (12:48 +0100)]
Add tests for NSID and version.bind

6 years agoFix truncation threshold
Pieter Lexis [Thu, 22 Mar 2018 10:59:07 +0000 (11:59 +0100)]
Fix truncation threshold

6 years agoLeave bitshifting Extended RCode to addOpt
Pieter Lexis [Wed, 21 Mar 2018 15:17:54 +0000 (16:17 +0100)]
Leave bitshifting Extended RCode to addOpt

6 years agoAllow running the edns1 test on python 3
Pieter Lexis [Wed, 21 Mar 2018 14:43:06 +0000 (15:43 +0100)]
Allow running the edns1 test on python 3

6 years agorec: Add EDNS OPT record to packet when the client sent one
Pieter Lexis [Tue, 20 Feb 2018 23:43:38 +0000 (00:43 +0100)]
rec: Add EDNS OPT record to packet when the client sent one

Also, Ensure we reply with BADVERS when the EDNS version is not 0.

6 years agorecursor: Check size when adding the OPT RR
Pieter Lexis [Tue, 20 Feb 2018 17:06:46 +0000 (18:06 +0100)]
recursor: Check size when adding the OPT RR

6 years agoauth: guard gethosntame call
Pieter Lexis [Tue, 20 Feb 2018 09:26:04 +0000 (10:26 +0100)]
auth: guard gethosntame call