[Pdns-users] Storing binary data in PDNS

Aki Tuomi cmouse at youzen.ext.b2.fi
Sun Mar 29 12:07:13 UTC 2015


On Sun, Mar 29, 2015 at 01:51:58PM +0200, Christian Rößner wrote:
> > 
> > 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
> --

Hi!

can you file a bug in https://github.com/PowerDNS/pdns/issues

this seems like a bug

Aki




More information about the Pdns-users mailing list