dnscontrol icon indicating copy to clipboard operation
dnscontrol copied to clipboard

Support BIND's RP record type

Open ondohotola opened this issue 4 months ago • 3 comments

Try to import one of my zones which has the RP record dnscontrol barfs as unknown record type

I would like that record type to be supported so I no longer have to comment out/remove the record.

ondohotola avatar Aug 01 '25 07:08 ondohotola

Ah, yes, I see what you mean.

I don't have a good way to reproduce this. Can you assist?

tlimoncelli avatar Aug 04 '25 14:08 tlimoncelli

Using something like this in zones/test.com.na.domain

$TTL 3600
@                IN SOA   katima.omadhina.net. dns-techs.na-nic.com.na. 2025080102 14400 7200 3600000 3600
                 IN NS    katima.omadhina.net.
                 IN NS    sdc.omadhina.net.
                 IN TXT   "Copyright 2025 SPF Lisse Family Private Foundation"
                 IN TXT   "This is a domain name for test purposes only."
                 IN TXT   "v=spf1 a mx ip4:80.240.31.104 ~all"
                 IN RP  el.lisse.na. elisse.test.com.na.
elisse           IN TXT "Do not call me on my phone"

and then

 dnscontrol get-zones --format=js bind - test.com.na

results in

failed GetZone gzr: rrToRecord: Unimplemented zone record type=RP (test.com.na.	3600	IN	RP	el.lisse.na. elisse.)

this is a live zone, so

dig +short test.com.na rp

gives el.lisse.na. elisse.test.com.na.

and

dig +short  elisse.test.com.na txt

gives "Do not call me on my phone"

ondohotola avatar Aug 04 '25 20:08 ondohotola

Thanks for the very clear repro case! I don't have time to work on this in the next few weeks (big project at work) but I will take a look at this when I can.

tlimoncelli avatar Aug 05 '25 11:08 tlimoncelli

Fixed in https://github.com/StackExchange/dnscontrol/pull/3886

tlimoncelli avatar Dec 15 '25 17:12 tlimoncelli

Can you please post an example?

ondohotola avatar Dec 15 '25 18:12 ondohotola

The doc page has an example: https://docs.dnscontrol.org/language-reference/domain-modifiers/rp

(this URL wasn't working until I merged https://github.com/StackExchange/dnscontrol/commit/2a8e810f91df973bbe2ae3ce059e9b61b372d951 a few minutes ago)

tlimoncelli avatar Dec 15 '25 19:12 tlimoncelli

Closed by https://github.com/StackExchange/dnscontrol/pull/3886. Follow-up questions https://github.com/StackExchange/dnscontrol/issues/3704 https://github.com/StackExchange/dnscontrol/issues/3918.

cafferata avatar Dec 16 '25 19:12 cafferata