From bf96b80200c3e8d1795a913db4e0222ea558e609 Mon Sep 17 00:00:00 2001 From: Petr Spacek Date: Tue, 4 Oct 2016 17:18:05 +0200 Subject: [PATCH] DNS: Improve field descriptions for SRV records Reviewed-By: Martin Basti --- install/ui/src/freeipa/dns.js | 8 ++++---- 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, ),