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

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


  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 7dbb7c7ddd241d6879c4a240d8cb4bdddb24f67b
      https://github.com/OpenSIPS/opensips/commit/7dbb7c7ddd241d6879c4a240d8cb4bdddb24f67b
  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