From: Charles-Henri Bruyand Date: Mon, 26 Mar 2018 15:46:00 +0000 (+0200) Subject: auth: tinydnsbackend / tests - document binaries used by generate-data.sh and update... X-Git-Tag: dnsdist-1.3.0~11^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=14ee5f914da9ca77029ba12aafdf61ec2c66e5e5;p=thirdparty%2Fpdns.git auth: tinydnsbackend / tests - document binaries used by generate-data.sh and update data files --- diff --git a/modules/tinydnsbackend/data b/modules/tinydnsbackend/data index 74154f9e6e..02e788864c 100644 --- a/modules/tinydnsbackend/data +++ b/modules/tinydnsbackend/data @@ -20106,6 +20106,8 @@ :hightype.example.com:65534:\007\355\046\000\001:120 :host-0.example.com:108:\000PV\233\000\347:120 :host-1.example.com:109:\000PV\233\000\347\176W:120 +:hostmaster.mb.example.com:8:\300\035:120 +:hostmaster.mb.example.com:8:\300\072:120 :hwinfo.example.com:13:\003abc\003def:120 :ipv6.example.com:28:\040\001\006\250\000\000\000\001\002\020K\377\376KLa:120 :location.example.com:29:\0002\026\023\213\044\323e\176\273\347\100\000\230\230\020:120 @@ -20113,6 +20115,9 @@ :location.example.com:29:\000\022\026\023\213\044\310\373\201D\030\300\000\230\230\020:120 :location.example.com:29:\000\042\026\023t\3331\320\201D\030\300\000\230\230\020:120 :multitext.example.com:16:\015text\040part\040one\015text\040part\040two\017text\040part\040three:120 +:phil.mb.example.com:7:\002pc\300\044:120 +:philip.mb.example.com:9:\300\072:120 +:sheila.mb.example.com:7:\004bill\300\044:120 :text.example.com:16:\025Hi\054\040this\040is\040some\040text:120 :text0.example.com:16:\014k\075rsa\073\040p\075one:120 :text1.example.com:16:\014k\075rsa\073\040p\075one:120 diff --git a/modules/tinydnsbackend/data.cdb b/modules/tinydnsbackend/data.cdb index 9cb500fb4d..976aaa277b 100644 Binary files a/modules/tinydnsbackend/data.cdb and b/modules/tinydnsbackend/data.cdb differ diff --git a/modules/tinydnsbackend/generate-data.sh b/modules/tinydnsbackend/generate-data.sh index 250d85bb1f..4a697e4b83 100755 --- a/modules/tinydnsbackend/generate-data.sh +++ b/modules/tinydnsbackend/generate-data.sh @@ -1,6 +1,11 @@ #!/usr/bin/env bash set -exu +# You'll need the following binaries +# `tcpclient` : from the `ucspi-tcp` package (https://cr.yp.to/ucspi-tcp.html) +# `axfr-get` : https://cr.yp.to/djbdns.html +# `tinydns-data` : ^ also from the djbdns package + startdir=`pwd` TCPCLIENT=${TCPCLIENT:-tcpclient} AXFRGET=${AXFRGET:-axfr-get} diff --git a/regression-tests.nobackend/tinydns-data-check/expected_result b/regression-tests.nobackend/tinydns-data-check/expected_result index f83c043385..764e7ea534 100644 --- a/regression-tests.nobackend/tinydns-data-check/expected_result +++ b/regression-tests.nobackend/tinydns-data-check/expected_result @@ -1,4 +1,4 @@ -17a1219ca79020c1c67ad173a291d3c8 ../regression-tests/zones/example.com +9f88091d3d1b793bf15a2cf5015bf92d ../regression-tests/zones/example.com fe49d2784b1bcc3b91ddd5619f0b6cc1 ../regression-tests/zones/test.com 005b3381db2a7dc70b690484f6ab7770 ../regression-tests/zones/test.dyndns e7c0fd528e8aaedb1ea3b6daaead4de2 ../regression-tests/zones/wtest.com