You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
help="Specifies the domain or subdomain. Must be a valid existing domain (example.com)")
235
+
@utils.arg('--record-id',
236
+
metavar='<record_id>',
237
+
required=True,
238
+
help="The id of the PTR record to modify.")
239
+
@utils.arg('--name',
240
+
metavar='<name>',
241
+
required=True,
242
+
help="The full name of the new record (ftp.example.com)")
243
+
@utils.arg('--data',
244
+
metavar='<data>',
245
+
required=True,
246
+
help="The data field, must be a valid IPv4 or IPv6 IP address")
247
+
@utils.arg('--server-href',
248
+
metavar='<server_href>',
249
+
required=True,
250
+
help="The link to the Rackspace Cloud Server that this will reference.")
251
+
@utils.arg('--ttl',
252
+
default=3600,
253
+
metavar='<ttl>',
254
+
help="If specified, must be greater than 300. The default value, if not specified, is 3600.")
255
+
@utils.arg('--comment',
256
+
default=None,
257
+
metavar='<comment>',
258
+
help="If included, its length must be less than or equal to 160 characters.")
259
+
defdo_rdns_modify(cs, args):
260
+
"""Modify a reverse DNS record to the specified domain."""
261
+
args.priority=None
262
+
args.type="PTR"
263
+
do_record_modify(cs, args)
264
+
265
+
@utils.arg('href',
266
+
metavar='href',
267
+
help="The link to the Rackspace Cloud Server that this will reference.")
268
+
@utils.arg('--ip',
269
+
metavar='<ip>',
270
+
default="",
271
+
help="Use the optional ip parameter to specify a specific record to delete. Omitting this parameter removes all PTR records associated with the specified device.")
272
+
defdo_rdns_delete(cs, args):
273
+
"""Remove one or all PTR records associated with a Rackspace Cloud device. Use the optional ip parameter to specify a specific record to delete. Omitting this parameter removes all PTR records associated with the specified device."""
0 commit comments