[Pdns-users] Storing binary data in PDNS

Christian Rößner c at roessner-network-solutions.com
Sun Mar 29 11:51:58 UTC 2015


> 
> I have absolutely no idea how to get this inserted correctly.
> 
> Does somebody have any idea how to achieve this? Is adding a TYPE65XYZ-RR possible? What is the exact syntax?
> 
> Many thanks in advance

I did another test with a simple TXT records:

MariaDB [pdns]> select * from records where name like "%_sub1%";
+-------+-----------+------------------------------------+------+-----------+------+------+-------------+----------+------------------------+------+
| id    | domain_id | name                               | type | content   | ttl  | prio | change_date | disabled | ordername              | auth |
+-------+-----------+------------------------------------+------+-----------+------+------+-------------+----------+------------------------+------+
| 17435 |     21603 | test._sub3._sub2._sub1.roessner.co | TXT  | "Example" | 3600 |    0 |  1427629473 |        0 | _sub1 _sub2 _sub3 test |    1 |
| 17436 |     21603 | _sub1.roessner.co                  | NULL | NULL      | NULL | NULL |        NULL |        0 | NULL                   |    1 |
| 17437 |     21603 | _sub2._sub1.roessner.co            | NULL | NULL      | NULL | NULL |        NULL |        0 | NULL                   |    1 |
| 17438 |     21603 | _sub3._sub2._sub1.roessner.co      | NULL | NULL      | NULL | NULL |        NULL |        0 | NULL                   |    1 |
+-------+-----------+------------------------------------+------+-----------+------+------+-------------+----------+------------------------+------+
4 rows in set (0.07 sec)

deltaweb root at ns1  ~ # pdnssec rectify-zone roessner.co
Adding NSEC ordering information
deltaweb root at ns1  ~ # pdnssec check-zone roessner.co
Checked 12 records of 'roessner.co', 0 errors, 0 warnings.

So it really seems to me as if something is wrong with binary data. Is this a bug and should I report it somewhere?

For me it seems that I can not insert a data record, which contains a TYPE65XYZ generic type. Or I do not know the syntax.

Please, if somebody is here on the mailing list who does have a little hint or idea, I am really thankful for any feedback.

Christian
--
Bachelor of Science Informatik
Erlenwiese 14, 36304 Alsfeld
T: +49 6631 78823400, F: +49 6631 78823409, M: +49 171 9905345
USt-IdNr.: DE225643613, http://www.roessner-network-solutions.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20150329/9247f99a/attachment-0001.sig>


More information about the Pdns-users mailing list