midway icon indicating copy to clipboard operation
midway copied to clipboard

Persist configuration

Open ignoramous opened this issue 3 years ago • 0 comments

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/

ignoramous avatar Jun 10 '22 17:06 ignoramous