#147 Do not add spaces to long records in LDAP
Opened 9 years ago by pspacek. Modified 7 years ago

Enhancement proposal

Do not add spaces to long records in LDAP, i.e. store:

test.client.bububu.test. 1200 IN SSHFP 1 2 37BF6366A44B67F6CA8FF8A8313B7C964CEA971CCB3E092D775FDF082170AAA4

instead of

test.client.bububu.test. 1200 IN SSHFP 1 2 37BF6366A44B67F6CA8FF8A8313B7C964CEA971CCB3E092D775FDF08 2170AAA4

Use case

It will make parsing in simple hand-written scripts easier a bit. (Of course, it does not solve the problem with records which are already stored in the database. Old records will be read just fine but deletion/replacement may require DNS syntax support on DS side.)

Proposed implementation

Call dns_rdata_tofmttext() instead of dns_rdata_totext() and manually specify width = 0xfffffffe.


This depends on DNS syntax support in DS which we don't have.

Metadata Update from @pspacek:
- Issue assigned to someone
- Issue set to the milestone: The Backlog

7 years ago

Login to comment on this ticket.

Metadata