N26 interview question

How would you code a DNS over TLS proxy application?