Replies: 5 comments 8 replies
-
You can't, because they don't - at least not in a 1:1 relationship. A CNAME record is not a link belonging to any particular record, but it's a kind of symbolic link the name of a set of records. Take the following example:
Here, What could be done is create a (dynamic) view panel in the |
Beta Was this translation helpful? Give feedback.
-
It's something I need to implement - I'm just looking into how it can be done. |
Beta Was this translation helpful? Give feedback.
-
![]() That's one direction, looking at the other one now ... |
Beta Was this translation helpful? Give feedback.
-
And the other direction works as well: Now some tests and the new feature is ready to go :-) |
Beta Was this translation helpful? Give feedback.
-
Ah, I see - that's a bit of a special use case that's not easy to generalise. So we're clear about the IP addresses themselves, right? That leaves the
But: You have a special problem to solve, and you have NetBox. Therefore there is a solution, and in this case (like so often) it's a custom script. It is, if you know the algorithms you're using well, easy to create a script that takes a device object, extracts the primary and OOB addresses from it, finds the corresponding DNS records (if you don't know how I can give you a simple code snippet), create valid DNS names for your This will not be a general solution (as I said I doubt that it can be generalised at all), but it will fit your use case and take the onus of creating the |
Beta Was this translation helpful? Give feedback.
-
How can a CNAME record linked to a A record? So that I know that these records belong together?
Beta Was this translation helpful? Give feedback.
All reactions