]> git.saurik.com Git - apt.git/blob - README.SrvRecords
operator==(char*, StringView) use StringView.operator==
[apt.git] / README.SrvRecords
1 DNS SRV record support in apt
2 =============================
3
4 Apt supports a subset of the DNS SRV server records protocol as
5 described in RFC 2782 for service discovery.
6
7 Before connecting to the requested server APT will send a SRV
8 record request of the form "_$protocol._tcp._$host", e.g.
9 "_http._tcp.ftp.debian.org" or "_http._tcp.security.debian.org".
10
11 If the server sends SRV records
12 as a reply APT will use those to connect to the server(s) in
13 this reply. It will honor the "priority" field in the reply.
14
15 However it does not implement the "weight" alogrithm as described
16 in RFC 2782. It will use an equal weight for each server of the
17 same priority.
18
19 If connecting to a server fails APT will retry with the next one
20 and remove the server from the list of valid servers for this
21 session.
22