dns_one 0.4.59 → 0.4.60

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9f7aff37d7886eb30db71113afa0e7eb6fe5bb8a
4
- data.tar.gz: 896af67a899b60acde6bc43a71a5830ccdeed3bf
3
+ metadata.gz: 2ecccc184d2a13934e03c06b2f59c70fae48f40a
4
+ data.tar.gz: bab36120ae86786fadb64884ac53084033a0ffaf
5
5
  SHA512:
6
- metadata.gz: bdb9fd6536e5a3a808320e6fc56481e77610a0838852e0d3bc14cb0f65d5acf78b3dc224b1dcf7c3fb307e28a05a6bf31d8a09863513e3f9ceed69096907d8a3
7
- data.tar.gz: cb5f9daf3bfd0fc324662239587bd7fab045b3f781559f7b413d059e99ed2dda9f719ddea20ca2b1b5f4f8501d126485fc16290ddfd8f626dee673ad55ff675f
6
+ metadata.gz: f6ee35d1abae420aa96da1f10e0fb703291aacf727c60e4674eb0b7404625e872c57f198bf9d3fa0566ea2f6f63e52769d8c8950714c40b91e2a161a42a4927f
7
+ data.tar.gz: fbcb29adf5adb4b10bc73cfbdc5b30082a29ecf6b9d64d5b6c4399919e0ba7e84082ad241f39dee1e1e238202a651d205b492339d776806e73311d21a274e1b7
@@ -65,9 +65,10 @@ module DnsOne; class DnsOne
65
65
  },
66
66
  server: {
67
67
  run_as: conf[:config][:run_as],
68
- log_results: (conf[:config][:log_results] == '1'),
69
68
  save_stats: (conf[:config][:save_stats] == '1'),
70
- log_result_socket_file: (conf[:config][:log_result_socket_file] == '1')
69
+ log_result_file: (conf[:config][:log_result_file] == '1'),
70
+ log_result_socket: (conf[:config][:log_result_socket] == '1'),
71
+ log_result_socket_file: (conf[:config][:log_result_socket_file] == '1'),
71
72
  },
72
73
  zone_search: {
73
74
  ignore_subdomains: conf[:config][:ignore_subdomains],
@@ -74,7 +74,7 @@ module DnsOne; class Server
74
74
  stat.save rcode, t.resource_class, from_cache
75
75
  end
76
76
 
77
- if conf[:log_results]
77
+ if conf[:log_result]
78
78
  Util.log_result ip_address, domain_name, t.resource_class, rcode, resp_log, from_cache
79
79
  end
80
80
 
@@ -148,3 +148,4 @@ module DnsOne; class Server
148
148
  end
149
149
 
150
150
  end; end
151
+
@@ -1,3 +1,3 @@
1
1
  module DnsOne
2
- VERSION = "0.4.59"
2
+ VERSION = "0.4.60"
3
3
  end
@@ -4,8 +4,8 @@ config:
4
4
  ignore_subdomains: www en it es pt ru fr at # optional, defaults to an empty list
5
5
  # cache_max: 100000 # optional, defaults to 10000
6
6
  # log_file: /var/log/dns_one.log # optional, defaults to /var/log/dns_one.log
7
- log_results: 0
8
7
  save_stats: 0
8
+ log_result_file: 0
9
9
  log_result_socket: 1
10
10
  # log_result_socket_file: /tmp/dns_one_log_result.sock
11
11
 
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.4.59
4
+ version: 0.4.60
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Lobato