Pregunta de entrevista de N26

How would you code a DNS over TLS proxy application?