[erlang-questions] dns server

Raimo Niskanen raimo+erlang-questions@REDACTED
Tue Mar 9 13:26:20 CET 2010


On Mon, Mar 08, 2010 at 10:48:30AM -0800, Joe Williams wrote:
> 
> >>>For anyone interested, inet_dns (undocumented afaict) does all the heavy
> >>>lifting for encoding/decoding DNS requests.
> >>>
> >>>http://github.com/erlang/otp/blob/dev/lib/kernel/src/inet_dns.erl
> >>>http://github.com/erlang/otp/blob/dev/lib/kernel/src/inet_dns.hrl
> >>>
> >>>
> >>>-Joe
> >>>
> >>>       
> 
> >>>i have successfully used inet_dns in my inet_mdns project works great
> >>>       
> 
> Yeah, seems to work well for me as well. Way better than implementing 
> the encoding/decoding myself. :)

Unfortunately it does not compress (reuse) labels any good when encoding.
It is on my ToDo list but not prioritized...

> 
> -Joe
> 
> 
> -- 
> Name: Joseph A. Williams
> Email: joe@REDACTED
> Blog: http://www.joeandmotorboat.com/
> 
> 
> ________________________________________________________________
> erlang-questions (at) erlang.org mailing list.
> See http://www.erlang.org/faq.html
> To unsubscribe; mailto:erlang-questions-unsubscribe@REDACTED

-- 

/ Raimo Niskanen, Erlang/OTP, Ericsson AB


More information about the erlang-questions mailing list