messhy 0.8.1 → 0.8.2

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
  SHA256:
3
- metadata.gz: 4e0656bd5f348246e94b88ce5f393e1416f7ad68f854d8937985040cd6cd8e39
4
- data.tar.gz: f0810616eca6befce07247683a276a68697da13745eeeaeffa61e5a6ae742993
3
+ metadata.gz: 6cc5f92c8b8a35dfb82b3639ae13d18e962e6f67ff042b845b4e545ed53e9be3
4
+ data.tar.gz: 8165c8602fdcbb714fe9382dbadd217b399ee94d7c0ab987379c78964af7a166
5
5
  SHA512:
6
- metadata.gz: 4e590137da10762662270ceb43ccc05e802f4c1d81ad148bd857285a4bc87afa1ec29313326887574191ac97b99185d355c9f11172e9e16145d914a849ba9ad1
7
- data.tar.gz: 9a0f392b86c51351885a76b5a4bf81297005d6c7152a48b4c5d30c784dc605660ed362c450ebb5bd174f223cf909e5d93995893cd01a4ccd98570b874f59d89a
6
+ metadata.gz: 0d86591c5ccd0e3276785836a0250f1e23d991d10c8c4d30920d852245506cfd1d405904c9adf657d16289c65571c802f87bf7111db16bccf0c7b71024675e79
7
+ data.tar.gz: 7ce9ada0585d20b2cff7a108b4c5e68843b3489ceeab3aa21a572b7ab56910bd0a6fbe28e95a30f2f0b2dc3f317684ed123a8d576008e46e706a2c3f107e5d0b
@@ -148,7 +148,7 @@ module Messhy
148
148
  lines << 'cache-size=1000'
149
149
  lines << "local-ttl=#{ttl}"
150
150
  lines << "interface=#{interface}"
151
- lines << 'bind-interfaces'
151
+ lines << 'bind-dynamic'
152
152
  lines << 'listen-address=127.0.0.1'
153
153
  lines << "listen-address=#{server_ip}"
154
154
  lines << ''
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Messhy
4
- VERSION = '0.8.1'
4
+ VERSION = '0.8.2'
5
5
  end
@@ -14,7 +14,7 @@ PostUp = resolvectl dns <%= dns_interface %> <%= dns_server_ips.join(' ') %>
14
14
  PostUp = resolvectl domain <%= dns_interface %> ~<%= dns_domain %>
15
15
  <% end -%>
16
16
  <% if is_dns_server -%>
17
- PostUp = systemctl restart dnsmasq || true
17
+ PostUp = sleep 1 && systemctl restart dnsmasq || true
18
18
  <% end -%>
19
19
  PostDown = sysctl -w net.ipv4.ip_forward=0
20
20
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: messhy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1
4
+ version: 0.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - BoringCache