Document toolboxDocument toolbox

SRV Record


Note: IDN is supported for object types: fqdn and target. You can use punycode or IDNs while importing these objects.


Field Name

Data Type

Required (Yes/No)Associated GUI FieldAssociated PAPI Method

Usage and Guidelines

Header-SrvRecord

String

Yes

Example: SrvRecord

fqdn

FQDN

YesServicename

This field combines the service name and the zone zone name to form the FQDN. Example: _http._tcp.corp100.com

_new_fqdn

FQDN

No

Add this field to overwrite the fqdn field when you select the overwrite or merge option.

view

String

NoDNS Viewviews

If no view is specified, the Default view is used. Example: Default priority 

priority

Unsigned integer

YesPriority

priority

Example: 10

_new_priority

Unsigned integer

No

Add this field to overwrite the priority field when you select the overwrite or merge option.

weight

Unsigned integer

YesWeightweight

Example: 20

_new_weight

Unsigned integer

No

Add this field to overwrite the weight field when you select the overwrite or merge option.

port

Unsigned integer

YesPortport

Example: 80

_new_port

Unsigned integer

No

Add this field to overwrite the port field when you select the overwrite or merge option.

target

Domain name

YesTargettarget

Example: foo.test.com

_new_target

Domain name

No

Add this field to overwrite the target field when you select the overwrite or merge option.

comment

String

NoCommentcomment


disabled

Boolean

NoDisable

disable Example: FALSE

ttl

Unsigned integer

NoTTLttl

This is an inherited field. For information, see Data Specific Guidelines. Example: 28800

EA-Site

String

NoExtensible attribute Siteextensible_attributes

 EA-Site is an example of a predefined extensible attribute. You can add other predefined attributes to the data file. For information about data format and examples, see Data Specific Guidelines.

ADMGRP-JoeSmith

String

NoPermissions
Admin
Group/Role
permission

ADMGRP-JoeSmith is an example of an admin permission of a specific admin group. For information about data format and examples, see Data Specific Guidelines.

Examples

This section contains examples of how to create data files for SRV records. All examples use comma as the separator. You can use other supported separators, such as semicolon, space, or tab.

Adding a SRV Record

This example shows how to add a new SRV record.

header-srvrecord,fqdn*,port*,priority*,target*,weight* srvrecord,bind_srv.corp100.com,80,10,srv.corp100.com,20

Overwriting SRV Record Data

This example shows how to overwrite the following data of a SRV record: port from 80 to 88 and priority from 10 to 20.

header-srvrecord,fqdn*,port*,_new_port,priority*,_new_priority,target*,weight* srvrecord,bind_srv.corp100.com,80,88,10,20,srv.corp100.com,20

This example shows how to overwrite the following data of a SRV record: target from srv.corp100.com to srv2corp100.com and weight from 20 to 30.

header-srvrecord,fqdn*,port*,priority*,target*,_new_target,weight*,_new_weight srvrecord,bind_srv.corp100.com,88,20,srv.corp100.com,sv2.corp100.com,20,30

Merging SRV Record Data

This example shows how to merge the following data to a SRV record: comment = USA and disabled = TRUE.

header-srvrecord,fqdn*,port*,priority*,target*,weight*,comment,disabled srvrecord,bind_srv.corp100.com,80,10,srv.corp100.com,20,USA,TRUE