midway
midway copied to clipboard
Persist configuration
Allow users to set custom dns responses. As example, for the below given dns ruleset:
| domain | a | aaaa |
|---|---|---|
| x1.org | ams.vm.ip.4 | ams:vm:ip::6 |
| x2.org | lhr.vm.ip.4 | lhr:vm:ip::6 |
| * | maa.vm.ip.4 | maa:vm:ip::6 |
midway responds with corresponding IPs such that the traffic is routed to those specific IPs ([x1|x2].org -> VMs in ams; while all other domains * routed to VMs in maa).
Probably through litestream? https://tip.litestream.io/guides/read-replica/