[OpenSIPS-Devel] [OpenSIPS/opensips] 6c911c: resolve: fix CNAME chain resolution with caching
Bogdan Andrei IANCU
noreply at github.com
Tue Jan 27 16:11:39 UTC 2026
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: 6c911c3105b565b8a77758d11c3d3b22ccc8385c
https://github.com/OpenSIPS/opensips/commit/6c911c3105b565b8a77758d11c3d3b22ccc8385c
Author: Jasper Hafkenscheid <jasper.hafkenscheid at voys.nl>
Date: 2025-10-06 (Mon, 06 Oct 2025)
Changed paths:
M resolve.c
Log Message:
-----------
resolve: fix CNAME chain resolution with caching
The DNS resolver now explicitly follows CNAME chains instead of relying
on res_search() to handle them transparently. This fixes resolution
failures when the DNS cache module is enabled, as cached CNAME responses
need to be followed manually to reach the final A/AAAA records.
Changes:
- Add iterative CNAME chain following in own_gethostbyname2()
- Limit chain depth to 10 to prevent infinite loops
- Add debug logging for CNAME traversal
Commit: 401957bd8ddbf050d9c2f65c8a51021ea78391d7
https://github.com/OpenSIPS/opensips/commit/401957bd8ddbf050d9c2f65c8a51021ea78391d7
Author: Bogdan Andrei IANCU <bogdan at opensips.org>
Date: 2026-01-27 (Tue, 27 Jan 2026)
Changed paths:
M resolve.c
Log Message:
-----------
Merge pull request #3733 from hafkensite/feature/dns-cache-cname
resolve: fix CNAME chain resolution with caching #3709
Compare: https://github.com/OpenSIPS/opensips/compare/d48e69c2b2fb...401957bd8ddb
To unsubscribe from these emails, change your notification settings at https://github.com/OpenSIPS/opensips/settings/notifications
More information about the Devel
mailing list