Pergunta de entrevista da empresa N26

How would you code a DNS over TLS proxy application?