Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
dnsdist: Add UUIDs to rules #6030
Having UUID assigned to rules makes it possible to track a given rule, as opposed to the existing rule numbers that changed every time a rule was deleted or moved around. A rule now keeps the same UUID for the lifetime of the dnsdist process and can even keep this UUID persistent across restart if the UUID is provided when the rule is added:
This is especially useful if the rules are managed via a central controller using the console, or to display metrics retrieved via the API.