dns v1.0.1 DNS.Server behaviour

TODO: docs TODO: convert this to a GenServer and do proper cleanup

Link to this section Summary

Link to this section Functions

Link to this function accept(port, handler)
accept(:inet.port, DNS.Server) :: no_return

TODO: docs

Link to this section Callbacks

Link to this callback handle(arg0, {})
handle(DNS.Record.t, {:inet.ip, :inet.port}) :: DNS.Record.t