dnscontrol icon indicating copy to clipboard operation
dnscontrol copied to clipboard

Realtimeregister provider pushing 0 priority to MX or SRV fail

Open gunleik opened this issue 6 months ago • 3 comments

Describe the bug Realtimeregister provider pushing 0 priority to MX or SRV return: {"errors":{"6":{"prio":["Must be set for type MX"]}},"message":"Errors have been found in the DNS records","type":"DnsConfigurationException"} According to RealTimeRegister process log the API request did not contain any priority. Priority of 1 and above is ok.

To Reproduce Steps to reproduce the behavior: push a config with MX("@", 0, "mx1.xyz.com."),

Expected behavior Successful push and the priority of the MX or SRV record to be set to 0

DNS Provider Realtimeregister (I have not tested other providers)

gunleik avatar Jun 08 '25 23:06 gunleik

I testet the same with provider digitalocean, that works fine with priority 0. So either the digitalocean provider sends 0 as the priority or the API interprets unset priority as 0.

gunleik avatar Jun 09 '25 07:06 gunleik

Ping @PJEilers, the maintainer of the Realtime Register provider.

cafferata avatar Jun 12 '25 19:06 cafferata

I will look into it

PJEilers avatar Aug 13 '25 07:08 PJEilers

Fixed by https://github.com/StackExchange/dnscontrol/pull/3724 & https://github.com/StackExchange/dnscontrol/pull/3725

cafferata avatar Aug 13 '25 14:08 cafferata