|
|
@ -111,8 +111,10 @@ class Domain < ActiveRecord::Base |
|
|
|
|
|
|
|
|
|
|
|
ns_records.build |
|
|
|
ns_records.build |
|
|
|
ns_records.build |
|
|
|
ns_records.build |
|
|
|
ns1, ns2 = ns_records |
|
|
|
ns_records.build |
|
|
|
|
|
|
|
ns1, ns2, ns3 = ns_records |
|
|
|
ns1.content = Settings.ns.first |
|
|
|
ns1.content = Settings.ns.first |
|
|
|
ns2.content = (Settings.ns - [ns1.content]).sample |
|
|
|
ns2.content = Settings.ns.second |
|
|
|
|
|
|
|
ns3.content = Settings.ns.third |
|
|
|
end |
|
|
|
end |
|
|
|
end |
|
|
|
end |
|
|
|