mirror of
https://github.com/internetee/registry.git
synced 2025-07-21 02:05:57 +02:00
Refactor, spacing in zone file
This commit is contained in:
parent
ac4b63f390
commit
4caa0ef903
7 changed files with 45 additions and 38 deletions
|
@ -8,6 +8,7 @@ class CreateZonefileSetting < ActiveRecord::Migration
|
|||
t.integer :expire
|
||||
t.integer :minimum_ttl
|
||||
t.string :email
|
||||
t.string :master_nameserver
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
|
@ -20,7 +21,19 @@ class CreateZonefileSetting < ActiveRecord::Migration
|
|||
retry: 900,
|
||||
expire: 1209600,
|
||||
minimum_ttl: 3600,
|
||||
email: 'hostmaster.eestiinternet.ee'
|
||||
email: 'hostmaster.eestiinternet.ee',
|
||||
master_nameserver: 'ns.tld.ee'
|
||||
})
|
||||
|
||||
ZonefileSetting.create({
|
||||
origin: 'pri.ee',
|
||||
ttl: 43200,
|
||||
refresh: 3600,
|
||||
retry: 900,
|
||||
expire: 1209600,
|
||||
minimum_ttl: 3600,
|
||||
email: 'hostmaster.eestiinternet.ee',
|
||||
master_nameserver: 'ns.tld.ee'
|
||||
})
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue