mirror of
https://github.com/cmur2/dyndnsd.git
synced 2026-10-31 05:45:17 +01:00
daemon: add host offlining by deleting the associated DNS records
This commit is contained in:
1 parent
8d4e96a1dd
commit
147071da9e
5 files changed
+48
-6
No files matched your search
@@ -24,7 +24,7 @@ module Dyndnsd
|
||||
|
||||
def self.changed?(hostname, myips, hosts)
|
||||
# myips order is always deterministic
|
||||
(!hosts.include? hostname) || (hosts[hostname] != myips)
|
||||
((!hosts.include? hostname) || (hosts[hostname] != myips)) && !myips.empty?
|
||||
end
|
||||
|
||||
def self.span(operation, &block)
|
||||
|
||||
Reference in new issue
Block a user