<commit_before>## HelixDNS

 [![Build Status](https://travis-ci.org/mrwilson/helixdns.png?branch=master)](https://travis-ci.org/mrwilson/helixdns)

  A simple dns server to read records from etcd. See this [blog post](http://probablyfine.co.uk/2014/03/02/serving-dns-records-from-etcd/) for more information.

## Build Instructions

    go get github.com/mrwilson/helixdns
    make install

## Uses

    hdns -port=<port-to-run-on> -etcd-address=<address-of-etcd-instance>

## TODO

 * Other types of record that aren't A or AAAA.<commit_msg>Add information about SRV records<commit_after>## HelixDNS

 [![Build Status](https://travis-ci.org/mrwilson/helixdns.png?branch=master)](https://travis-ci.org/mrwilson/helixdns)

  A simple dns server to read records from etcd. See this [blog post](http://probablyfine.co.uk/2014/03/02/serving-dns-records-from-etcd/) for more information.

## Build Instructions

    go get github.com/mrwilson/helixdns
    make install

## Uses

    hdns -port=<port-to-run-on> -etcd-address=<address-of-etcd-instance>

## SRV Records

  SRV records have multiple pieces of information to serve, so the values stored in etcd are JSON values, as below.

    [
      {"Priority":10,"Weight":60,"Port":5060,"Target":"bigbox.example.com."},
      {"Priority":10,"Weight":20,"Port":5060,"Target":"smallbox1.example.com."},
      {"Priority":10,"Weight":10,"Port":5060,"Target":"smallbox2.example.com."},
      {"Priority":10,"Weight":10,"Port":5066,"Target":"smallbox2.example.com."},
      {"Priority":20,"Weight":0, "Port":5060,"Target":"backupbox.example.com."}
    ]

## TODO

 * Other types of record that aren't A or AAAA.
{'fraction_non_alphanumeric': 0.16777710478497881, 'fraction_numerical': 0.03513022410660206, 'mean_word_length': 4.277955271565495, 'pattern_counts': {'":': 20, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2693124', 'n_tokens_mistral': 627, 'n_tokens_neox': 567, 'n_words': 113}