Project

General

Profile

« Previous | Next » 

Revision d5495a1e

Added by Marc Dequènes over 13 years ago

  • ID d5495a1e3c2945e526c432f4e905cda137548869

[fix] DNS fixes

View differences:

lib/cyborghood/services/dns.rb
Zone.new(zone)
end
def check_zone_file(check_type)
def check_config
case @config.dns.software
when 'bind'
output = []
begin
IO.popen("named-checkconf '#{@zone}' #{filename}") do |fp|
IO.popen("sudo named-checkconf") do |fp|
output << fp.gets.chomp! until fp.eof?
end
rescue

Also available in: Unified diff