Reference for host:* operations in RsReg2.
Determine availability/existence of host objects.
<check><host:check>with one or more<host:name>values.
- Repeating
<cd>entries:<name avail="1|0">- optional
<reason lang="en|sr-Latn-RS">
2001syntax2005invalid DNS name syntax2303missing host name parameter
- Full payload (legacy-compatible):
host()->check(array $request)
- Simplified fluent form:
host()->check($hostname)orhost()->check([$hostname1, $hostname2])
Create host object.
host:name
- one or more
host:addrvalues (ip="v4|v6", defaultv4)
name,crDate
2005invalid DNS name2302object exists
- Full payload (legacy-compatible):
host()->create(array $request)
- Simplified fluent form:
host()->create($hostname, ?string $ipv4 = null, ?string $ipv6 = null)
Retrieve host details.
<info><host:info><host:name>...</host:name></host:info></info>
May include:
name,roid,status- addresses (
addr) - ownership metadata (
clID,crID,crDate,upID,upDate,trDate)
2005invalid DNS name2303host does not exist
Modify host object attributes.
host:name- optional
host:add(addr/status) - optional
host:rem(addr/status) - optional
host:chg/host:namefor rename
- Host rename should preserve associations automatically.
- Updating certain externally-associated hosts may be blocked.
2005invalid DNS name2303host does not exist2305association prohibits operation (for example linked locked domains)
Delete host object.
host:name
- Success (
1000/1001) withoutresData.
2005invalid DNS name2303host does not exist2305host is associated with other objects