diff options
| author | Petr Spacek <pspacek@redhat.com> | 2016-10-04 17:18:05 +0200 |
|---|---|---|
| committer | Martin Basti <mbasti@redhat.com> | 2016-10-11 16:48:47 +0200 |
| commit | bf96b80200c3e8d1795a913db4e0222ea558e609 (patch) | |
| tree | d493c22a8b7891a7829e786bccb73b182b8d5f25 | |
| parent | f363dfbeed7aeba51d694a60b29389d94c7bda44 (diff) | |
DNS: Improve field descriptions for SRV records
Reviewed-By: Martin Basti <mbasti@redhat.com>
| -rw-r--r-- | install/ui/src/freeipa/dns.js | 8 | ||||
| -rw-r--r-- | ipaserver/plugins/dns.py | 6 |
2 files changed, 9 insertions, 5 deletions
diff --git a/install/ui/src/freeipa/dns.js b/install/ui/src/freeipa/dns.js index 1e24c0131..2e8a71e4e 100644 --- a/install/ui/src/freeipa/dns.js +++ b/install/ui/src/freeipa/dns.js @@ -1180,10 +1180,10 @@ IPA.dns.get_record_metadata = function() { { name: 'srvrecord', attributes: [ - 'srv_part_priority', - 'srv_part_weight', - 'srv_part_port', - 'srv_part_target' + 'srv_part_priority', + 'srv_part_weight', + 'srv_part_port', + 'srv_part_target' ], adder_attributes: [], columns: ['srv_part_priority', 'srv_part_weight', 'srv_part_port', diff --git a/ipaserver/plugins/dns.py b/ipaserver/plugins/dns.py index 996eb52c0..e37050a61 100644 --- a/ipaserver/plugins/dns.py +++ b/ipaserver/plugins/dns.py @@ -1329,12 +1329,16 @@ class SRVRecord(DNSRecord): rfc = 2782 parts = ( Int('priority', - label=_('Priority'), + label=_('Priority (order)'), + doc=_('Lower number means higher priority. Clients will attempt ' + 'to contact the server with the lowest-numbered priority ' + 'they can reach.'), minvalue=0, maxvalue=65535, ), Int('weight', label=_('Weight'), + doc=_('Relative weight for entries with the same priority.'), minvalue=0, maxvalue=65535, ), |
