SaaShup / netbox-cloudflare-plugin

Manage Cloudflare with Netbox (and style).
BSD 3-Clause "New" or "Revised" License
3 stars 0 forks source link

"Duplicate" Records #4

Closed mgob closed 1 week ago

mgob commented 2 weeks ago
Netbox version Plugin Version Agent version Docker API Version 4.0.10 0.2.0

Actual Behavior

When attempting to add a zone, we get the following error, and it appears to be for a record that has two A-records, such as when a round-robin is used. Different values ( different IPs in this case, an A-Record ) but same key.

Screenshot 2024-08-29 at 11 56 50 AM

Desired Behavior

Add the round robin records.

I haven't dug into anything yet but it looks like that name value has to be unique which would make it impossible to have round robin records.

Cheers!

lvenier commented 2 weeks ago

@mgob Thanks for your issue.

@fanshan I have checked and it is possible to have DNS round robin in cloudflare (surprisingly). But only DNS and NOT PROXIED We would need to change the unicity from the (name) to (name,content) if proxy is false.