hubfeenix.fi/lib/tasks/dns.rake

11 lines
220 B
Ruby
Raw Normal View History

2023-02-11 21:35:45 +01:00
require "dns_update_job"
namespace :dns do
desc "Update own dyn dns records"
task update: :environment do
job = DnsUpdateJob.new
puts "My ip is #{job.my_ip}"
2023-02-11 21:52:17 +01:00
job.update_ip("" , "hubfeenix.fi")
2023-02-11 21:35:45 +01:00
end
end