Commit Graph

9 Commits

Author SHA1 Message Date
Dag-Erling Smørgrav 3dcfa5af41 import ldns 1.8.3 2026-05-22 15:36:27 +02:00
Dag-Erling Smørgrav 4891157c57 Fix bug in upstream PR 238. 2024-05-15 12:15:47 +02:00
Willem Toorop 0c57cb21e0 Issue #237 : Resolver uses nameserver commented out in /etc/resolv.conf
This /etc/resolv.conf:
    # x

    # nameserver 8.8.8.8

Still configured 8.8.8.8 as nameserver, because the comment detection in `ldns_resolver_new_frm_fp_l()` didn't anticipate empty lines before the comment.
This fix removed all comment handling from `ldns_resolver_new_frm_fp_l()`. Instead a new function is introduced `ldns_fget_token_l_resolv_conf()` that skips comments that start with '#' and ';'. The old `ldns_fget_token_l()` (that is used for zonefiles too) still accepts only ';' for comments.
2024-05-15 11:46:36 +02:00
Pierre Pronchery cf3e3d5bd0 import ldns 1.8.3 2023-05-05 11:12:07 -04:00
Dag-Erling Smørgrav c6342fe2e9 import ldns 1.7.0 2017-02-03 13:01:00 +00:00
Dag-Erling Smørgrav 65be028f32 import ldns 1.6.17 2014-05-14 18:41:34 +00:00
Dag-Erling Smørgrav 04f3ab9612 Pull in r3828 from upstream (remove dead code, fix prototypes) 2013-04-09 13:08:33 +00:00
Dag-Erling Smørgrav 2f10c3e258 import ldns 1.6.16 2013-02-15 13:51:54 +00:00
Dag-Erling Smørgrav a1ba2d1ca3 import ldns 1.6.13 2012-07-04 14:22:28 +00:00