Support BIND's RP record type
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.
Ah, yes, I see what you mean.
I don't have a good way to reproduce this. Can you assist?
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"
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.
Fixed in https://github.com/StackExchange/dnscontrol/pull/3886
Can you please post an example?
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)
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.