dns-sniper 0.0.1.pre2 → 0.0.1.pre3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/dns-sniper.gemspec +1 -1
- data/lib/dns-sniper/formatters.rb +0 -1
- data/lib/dns-sniper/formatters/bind8.rb +1 -1
- data/lib/dns-sniper/formatters/dnsmasq.rb +1 -1
- data/lib/dns-sniper/formatters/hosts.rb +1 -1
- data/lib/dns-sniper/formatters/text.rb +1 -1
- data/lib/dns-sniper/formatters/unbound.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eb0e330d2e7c2b4061f4c93ff5825ff09d768a55f57e732e6557f13e822c9436
|
4
|
+
data.tar.gz: 6909002d1f80141a9855b917be54c0e2076c0b465f2f8aa6cf143ea93f6eba8d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bbb70cdbbf01ade47a2d6b359fe63fb97e1c577795d979746d93c858b0644313e0285415acf86a79d56a6baaaa6c0cc1b908bc01fb90b8b90d6bb86df2219125
|
7
|
+
data.tar.gz: f5773fc187a174a969c4c8953ab3c24e9803a3eba481fb028f300a9886aa09391d85a9f5383c46a726d123b954489f4e6e5a1a613b6300f4cdbdae3ddb353bc2
|
data/dns-sniper.gemspec
CHANGED
@@ -12,7 +12,7 @@ module DNSSniper
|
|
12
12
|
|
13
13
|
str = ''.dup
|
14
14
|
@hostnames.each do |hostname|
|
15
|
-
str << "zone \"#{hostname}\" { type master; notify no; file \"#{options[:zone_file]}\"; };#{
|
15
|
+
str << "zone \"#{hostname}\" { type master; notify no; file \"#{options[:zone_file]}\"; };#{$/}"
|
16
16
|
end
|
17
17
|
str
|
18
18
|
end
|
@@ -9,9 +9,9 @@ module DNSSniper
|
|
9
9
|
|
10
10
|
def output(_options = {})
|
11
11
|
str = ''.dup
|
12
|
-
str << "server:#{
|
12
|
+
str << "server:#{$/}"
|
13
13
|
@hostnames.each do |hostname|
|
14
|
-
str << " local-zone: \"#{hostname}\" static#{
|
14
|
+
str << " local-zone: \"#{hostname}\" static#{$/}"
|
15
15
|
end
|
16
16
|
str
|
17
17
|
end
|