[OpenSIPS/opensips] b4d74e: Fixed handling of TTL 0 in DNS answers.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[OpenSIPS/opensips] b4d74e: Fixed handling of TTL 0 in DNS answers.

Bogdan-Andrei Iancu-2
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b4d74ebd5fee055065e2e400f10c97a8bad3d9dd
      https://github.com/OpenSIPS/opensips/commit/b4d74ebd5fee055065e2e400f10c97a8bad3d9dd
  Author: Bogdan-Andrei Iancu <[hidden email]>
  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



_______________________________________________
Devel mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel