You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which generally works. However, when the healthchecks have not been started yet, this leads to a SERVFAIL. If I set failOnINcompleteCheck to "false", I get the backupSelector default of "random". Which is not what I need. I also checked the other selectors such as all, hashed and pickclosest, but they are also not really what I need.
I would like to define a fixed value to be returned while the healthchecks are testing, like a all time working failsafe value.
10.1.0.0/16:
If 172.16.0.1 is up = Return 172.16.0.1
If 172.16.0.1 is down and 172.16.0.2 is up = Return 172.16.0.2
If 172.16.0.1 is down and 172.16.0.2 is down = Return 123.123.123.123
10.2.0.0/16:
If 172.16.0.2 is up = Return 172.16.0.2
If 172.16.0.2 is down and 172.16.0.1 is up = Return 172.16.0.1
If 172.16.0.2 is down and 172.16.0.1 is down = Return 123.123.123.123
0.0.0.0/0:
If 172.16.0.1 is up = Return 172.16.0.1
If 172.16.0.1 is down and 172.16.0.2 is up = Return 172.16.0.2
If 172.16.0.1 is down and 172.16.0.2 is down = Return 123.123.123.123
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
I am testing out the LUA record type and came up with something like
Which generally works. However, when the healthchecks have not been started yet, this leads to a SERVFAIL. If I set failOnINcompleteCheck to "false", I get the backupSelector default of "random". Which is not what I need. I also checked the other selectors such as all, hashed and pickclosest, but they are also not really what I need.
I would like to define a fixed value to be returned while the healthchecks are testing, like a all time working failsafe value.
10.1.0.0/16:
If 172.16.0.1 is up = Return 172.16.0.1
If 172.16.0.1 is down and 172.16.0.2 is up = Return 172.16.0.2
If 172.16.0.1 is down and 172.16.0.2 is down = Return 123.123.123.123
10.2.0.0/16:
If 172.16.0.2 is up = Return 172.16.0.2
If 172.16.0.2 is down and 172.16.0.1 is up = Return 172.16.0.1
If 172.16.0.2 is down and 172.16.0.1 is down = Return 123.123.123.123
0.0.0.0/0:
If 172.16.0.1 is up = Return 172.16.0.1
If 172.16.0.1 is down and 172.16.0.2 is up = Return 172.16.0.2
If 172.16.0.1 is down and 172.16.0.2 is down = Return 123.123.123.123
Best regards
All reactions