[OpenSIPS-Devel] [OpenSIPS/opensips] 399741: Fixed handling of TTL 0 in DNS answers.

Bogdan-Andrei Iancu bogdan at opensips.org
Wed Jan 3 08:27:16 EST 2018


  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 39974122e2d8861138afd933db540d68f0c6697f
      https://github.com/OpenSIPS/opensips/commit/39974122e2d8861138afd933db540d68f0c6697f
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2018-01-03 (Wed, 03 Jan 2018)

  Changed paths:
    M modules/dns_cache/dns_cache.c

  Log Message:
  -----------
  Fixed handling of TTL 0 in DNS answers.

RFC1035 states : "Zero TTL values are interpreted to mean that the RR can only be used for the transaction in progress, and should not be cached."

Reported by Marcin Luczkiewicz @ Magrathea Telecom

(cherry picked from commit b4d74ebd5fee055065e2e400f10c97a8bad3d9dd)




More information about the Devel mailing list