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