Broadcast to every instance of an app

I want to run edge nginx with dynamically configured upstreams. When a new worker starts, I want to add it to every nginx instance’s upstreams. I could look up regions.appname.internal and parse that, but maybe there’s a better way?

I think you’re spot on though I might recommend using vms.appname.internal for that

dig +noall +answer vms.sorteios.internal txt
vms.sorteios.internal.  5       IN      TXT     "76686ad5 nrt dc,6288dd48 iad dc,79ec9e48 gru dc"
1 Like