Skip to content

Persist configuration #2

Description

@ignoramous

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/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions