Skip to content

Commit 2a6d9b3

Browse files
committed
Publish IP lists from dns.openstreetmap.org
1 parent ac12fdd commit 2a6d9b3

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

cookbooks/dns/recipes/default.rb

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,18 @@
7979
files_mode "644"
8080
end
8181

82+
link "/srv/dns.openstreetmap.org/html/ipv4.json" do
83+
to "/var/lib/dns/src/ipv4.json"
84+
owner "root"
85+
group "root"
86+
end
87+
88+
link "/srv/dns.openstreetmap.org/html/ipv6.json" do
89+
to "/var/lib/dns/src/ipv6.json"
90+
owner "root"
91+
group "root"
92+
end
93+
8294
zones = []
8395

8496
Dir.glob("/var/lib/dns/json/*.json").each do |kmlfile|

0 commit comments

Comments
 (0)