after lack of my erlang understanding I decided to dig into tungd/elixir-dns code out of curiosity to see how it was handling things and it is doing what @evadne suggested and has some nice wrapper around erlang code which i ended up using. https://github.com/tungd/elixir-dns/blob/master/lib/dns/record.ex
Big thanks to the elixir community for being supportive and having a solution to almost everything ![]()






















