You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

srv-records-support.md 834 B

12345678910111213141516171819202122
  1. DNS SRV record support in apt
  2. =============================
  3. Apt supports a subset of the DNS SRV server records protocol as
  4. described in [RFC 2782](https://tools.ietf.org/html/rfc2782) for service discovery.
  5. Before connecting to the requested server APT will send a SRV
  6. record request of the form `_$protocol._tcp._$host`, e.g.
  7. `_http._tcp.ftp.debian.org` or `_http._tcp.security.debian.org`.
  8. If the server sends SRV records
  9. as a reply APT will use those to connect to the server(s) in
  10. this reply. It will honor the `priority` field in the reply.
  11. However it does not implement the `weight` algorithm as described
  12. in RFC 2782. It will use an equal weight for each server of the
  13. same priority.
  14. If connecting to a server fails APT will retry with the next one
  15. and remove the server from the list of valid servers for this
  16. session.