dns_one 0.5.14 → 0.5.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 709f5b4b11ddfeb95281de676f8050cb7d135c30
4
- data.tar.gz: 9821fba735ea103c217c627644b248e77ca59cde
3
+ metadata.gz: 3cba78a9bc9514a27efcfed5f0b8c568438b6b6c
4
+ data.tar.gz: a9d7dc98babae9c81d67987cb56fd9176122a58f
5
5
  SHA512:
6
- metadata.gz: a746aeca26b518a5974f6a0e986134f1ea810403ab88909a87270ac0f0f624e7353a2221902a92712f55e5d70e0627d78198d496c9a4ccb88a038a3a136282ea
7
- data.tar.gz: 65b30a436031dfc6dc66080cdf1f2339c005b3407b1fe8b69d6384fa89f5bfe74785b62037d7f6e21c0ce4a4891095b178a228527f5c58f3229cdac447781139
6
+ metadata.gz: 5a3d341e35d0fea1d5d538ea4c30c4805072801b66457b4f4fa55b6b63bc3e0145cf78a43854ff09b9eba4da174251abc330608f678245abc44722575846f916
7
+ data.tar.gz: 05eed645e3de79d370d323c5b083f62603f96a8faebd81cc92cc2b70dac304bb6aba19e47b9da7924f501177a373a50838428e6a62bccb060fca8a4464a93db7
data/gempush CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/bin/bash
2
2
 
3
- rm dns_one-*.gem
3
+ rm dns_one-*.gem 2> /dev/null
4
4
  gem build dns_one.gemspec
5
5
  gem push dns_one-*.gem
@@ -1,3 +1,3 @@
1
1
  module DnsOne
2
- VERSION = "0.5.14"
2
+ VERSION = "0.5.15"
3
3
  end
data/lib/dns_one.rb CHANGED
@@ -26,8 +26,8 @@ module DnsOne; class DnsOne
26
26
  DEFAULTS = {
27
27
  conf_file: "/etc/dnsone.yml",
28
28
  work_dir: "/var/local/dnsone",
29
- log_file: "/var/log/dns_one/dnsone.log",
30
- rubydns_log_file: "/var/log/dns_one/dnsone_rubydns.log",
29
+ log_file: "/var/log/dnsone/dnsone.log",
30
+ rubydns_log_file: "/var/log/dnsone/dnsone_rubydns.log",
31
31
  run_as: "dnsone",
32
32
  interfaces: [ [:udp, "0.0.0.0", 53],
33
33
  [:tcp, "0.0.0.0", 53],
data/util/sample_conf.yml CHANGED
@@ -2,7 +2,7 @@
2
2
  run_as: dnsserver # optional, but highly recommended! adduser --system dnsserver
3
3
  ignore_subdomains: www en it es pt ru fr at # optional, defaults to an empty list
4
4
  # cache_max: 100000 # optional, defaults to 10000
5
- # log_file: /var/log/dns_one.log # optional, defaults to /var/log/dns_one.log
5
+ # log_file: /var/log/dnsone.log # optional, defaults to /var/log/dnsone.log
6
6
  log_req_db: false
7
7
  log_req_file: false
8
8
  log_req_account: true
@@ -41,7 +41,7 @@ backend:
41
41
  ################
42
42
  # File backend #
43
43
 
44
- # file: /etc/dns_one/domains.csv
44
+ # file: /etc/dnsone.csv
45
45
 
46
46
  # domains.csv example (set is optional, if missing the first record_set will be used)):
47
47
  # mydomain.com set1
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dns_one
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.14
4
+ version: 0.5.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Lobato
@@ -99,8 +99,7 @@ description: Instead having a complex data schema to assign record sets to DNS z
99
99
  in YML files and fetch your domains from a database or YML backend.
100
100
  email:
101
101
  - tomlobato@gmail.com
102
- executables:
103
- - dns_one
102
+ executables: []
104
103
  extensions: []
105
104
  extra_rdoc_files: []
106
105
  files:
@@ -115,7 +114,6 @@ files:
115
114
  - bin/console
116
115
  - bin/setup
117
116
  - dns_one.gemspec
118
- - exe/dns_one
119
117
  - gempush
120
118
  - lib/dns_one.rb
121
119
  - lib/dns_one/backend/base.rb
@@ -139,7 +137,6 @@ files:
139
137
  - lib/dns_one/version.rb
140
138
  - lib/dns_one/zone_search.rb
141
139
  - util/benchmark-cache_store.rb
142
- - util/dns_one.service
143
140
  - util/sample_conf.yml
144
141
  homepage: https://tomlobato.github.io/dns_one/
145
142
  licenses:
data/exe/dns_one DELETED
@@ -1,5 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require "dns_one/cli"
4
-
5
- DnsOne::CLI.start
data/util/dns_one.service DELETED
@@ -1,9 +0,0 @@
1
-
2
- [Unit]
3
- Description=dns_one supervisor
4
-
5
- [Service]
6
- User=root
7
- Group=root
8
- Restart=on-failure
9
- ExecStart=/bin/bash -lc '/root/.rbenv/shims/dns_one'