মূল কন্টেন্টে যান
eLearner.app
মডিউল 12 · 1-এর পাঠ 3কোর্সে 40/54~14 min
মডিউল পাঠ (1/3)

Record SRV e scoperta dei servizi

SRV records and service discovery

An SRV record can tell a client which host and port provide a service. It also includes priority and weight values used to choose among targets. Unlike A or AAAA, SRV describes a service endpoint, not just an IP address.

For example, _service._tcp.example.test. 300 IN SRV 10 20 8443 host.example.test. sets a target, port, priority, and weight.

Here the target is host.example.test., the port is 8443, and priority and weight help select among records. The client must still resolve the target name and establish the protocol’s connection. SRV does not encrypt that connection or guarantee that a service is healthy.

Reference: RFC 2782 — a DNS RR for specifying the location of services

Check your understanding

Choose the best answer. The examples use training names and do not send real DNS queries.

Quiz#dns.m12.l1.e1

What does SRV add compared with A?

উত্তরের বিকল্প