Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

dnsimple/exdns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Exdns

Build Status

A port of erldns (https://github.com/aetrion/erl-dns) to Elixir.

NOTE: This application is in the very early stages of development. It passes all of the tests currently defined in https://github.com/dnsimple/dnstest however it is not on parity with erl-dns functionality yet.

Installation

If available in Hex, the package can be installed as:

  1. Add exdns to your list of dependencies in mix.exs:

    def deps do [{:exdns, "~> 0.0.1"}] end

  2. Ensure exdns is started before your application:

    def application do [applications: [:exdns]] end

Running locally

Install dependencies with mix deps.get

Run with mix run --no-halt

Note that to run in production you will need to set up a production configuration and add one or more servers to it.

config :exdns, servers: [
  %{name: :udp_inet_localhost_1, type: Exdns.Server.UdpServer, address: "127.0.0.1", port: 8053, family: :inet},
  %{name: :udp_inet6_localhost_1, type: Exdns.Server.UdpServer, address: "::1", port: 8053, family: :inet6},
  %{name: :tcp_inet_localhost_1, type: Exdns.Server.TcpServer, address: "127.0.0.1", port: 8053, family: :inet},
  %{name: :tcp_inet6_localhost_1, type: Exdns.Server.TcpServer, address: "::1", port: 8053, family: :inet6}
]

Releases

No releases published

Packages

No packages published