Starting from the following example (citated on samba wiki):
$host -t SRV _ldap._tcp.samdom.example.com.
_ldap._tcp.samdom.example.com has SRV record 0 100 389 dc1.samdom.example.com.
What do the integers in the response mean?
389 is likely the TCP port involved, but 0? and 100?
Let's have a look at RFC 2782, A DNS RR for specifying the location of services (DNS SRV)
So although your example does not list TTL, we do know its class is IN and that its type is SRV...
_ldap._tcp.samdom.example.com 0 100 389 dc1.samdom.example.com.
Priority and weight:
https://en.m.wikipedia.org/wiki/SRV_record
Lower priority (0) is more preferred.