TA-vorlage: nsset_ext: Anlegen der Nameserver eines Sets (REF-FQDN-basiert)
Voraussetzungen:
- FQDN in "create_parent_fqdn" existiert noch nicht
- NS-Satz in "create_ns_set" existiert noch nicht
[
{
"idx": "create_parent_fqdn",
"name": "dns.fqdn.create",
"new": {
"value": "domain-hosting.name.",
"type": "extern"
}
},
{
"idx":"defineNSSetMembers",
"name": "tmp.generic_object.list",
"old": { "_dict_list": [
{"fqdn": "ns1.domain-hosting.name.", "is_primary": true },
{"fqdn": "ns2.domain-hosting.name.", "is_primary": false },
{"fqdn": "ns3.domain-hosting.name.", "is_primary": false },
{"fqdn": "ns4.domain-hosting.name.", "is_primary": false }
]
}
},
{
"idx": "imp",
"name": "dns.record.imp",
"new": {
"fqdn_type": "nameserver_extref",
"strict_mode": true,
"import_data":{ "dns.record_imp":[ { "type": "REF-FQDN", "data_list": [null] } ] }
},
"new_ref_params": [
{"idx": "defineNSSetMembers", "params": {"fqdn": "fqdn"}}
]
},
{
"idx": "create_ns_set",
"name": "dnscfg.ns_set.create",
"new": {
"name": "ext_ptka",
"description": "PTKA -> externer Dienstleister Go Control",
"members_are_exclusive": false,
"zone_data_is_external": true
}
},
{
"idx": "create_ns_set_members",
"name": "dnscfg.ns_set_member.create",
"new": {
"ns_is_master": true,
"ns_is_native": false,
"ns_is_registered": true
},
"new_ref_params": [
{"idx": "defineNSSetMembers", "params": {"ns_fqdn": "fqdn", "ns_is_primary": "is_primary"}},
{"idx": "create_ns_set", "join_type": "cross", "params": {"ns_set_name": "name"}}
]
}
]