Skip to content
Snippets Groups Projects
  1. Feb 28, 2022
  2. Feb 22, 2022
  3. Dec 22, 2021
    • Vladimír Čunát's avatar
      lib/log: remove the unused log groups · 5158170b
      Vladimír Čunát authored
      We can always easily add groups when needed.
      5158170b
    • Vladimír Čunát's avatar
      daemon/zimport: rewrite, support ZONEMD · d7a065c5
      Vladimír Čunát authored
      The approach of the code was rather hacky, simulating some packets
      arriving from upstream and making the module stack CONSUME that.
      Instead we take a direct approach now: use the simplified validator API
      and then insert into cache directly.
      
      One effect is improved performance, and consequently roughly halving
      the lag which happens when prefill module invokes this.
      (With root zone the lag goes down to 0.1 s from over 0.2 s,
       on my relatively fast CPU.  Fortunately it's just once a day.)
      d7a065c5
  4. Dec 21, 2021
  5. Dec 20, 2021
  6. Nov 25, 2021
  7. Nov 24, 2021
  8. Nov 23, 2021
  9. Nov 19, 2021
  10. Nov 04, 2021
  11. Nov 03, 2021
    • Vladimír Čunát's avatar
      lib/cache kr_cache_insert_rr(): add another parameter · c3a7a221
      Vladimír Čunát authored and Tomas Krizek's avatar Tomas Krizek committed
      NSEC* params were not being stashed by this function.  For prefilling
      it's useful, but doing it on *every* NSEC* record would be quite a waste,
      so we introduce a parameter to select this.
      
      Implementation: there were good reasons not to implement this until
      needed - it wasn't straightforward at all.
      c3a7a221
  12. Oct 11, 2021
  13. Sep 20, 2021
    • Tomas Krizek's avatar
      lua: use notice level for log() · 39dd89db
      Tomas Krizek authored and Vladimír Čunát's avatar Vladimír Čunát committed
      By default, notice level is set. Thus, if users want to use log() in the
      same way as pre-5.4, they'd have to increase the log level. This bumps
      the log level of log() function to keep the same behavior.
      39dd89db
  14. Aug 19, 2021
  15. Aug 10, 2021
    • Vladimír Čunát's avatar
      lib/log: add [rdebug] group · 0fdc1940
      Vladimír Čunát authored and Tomas Krizek's avatar Tomas Krizek committed
      It's special: always on and not shown in log_groups() output.
      
      It's been quite a long fight to find how to best deal with such
      a special case (from user perspective; code itself is easy).
      0fdc1940
    • Vladimír Čunát's avatar
      lua kr_request_t::selected:tostring(): adjust style · f62947a4
      Vladimír Čunát authored and Tomas Krizek's avatar Tomas Krizek committed
      The result gets logged as a single multi-line message,
      so let's not repeat any prefix on (some of) those in-the-middle lines.
      f62947a4
    • Vladimír Čunát's avatar
      lib/log kr_log_fmt(): pass parameters more properly · 257e5cbd
      Vladimír Čunát authored and Tomas Krizek's avatar Tomas Krizek committed
      Systemd docs say:
      > Those arguments must contain valid journal entries including
      > the variable name, e.g. "CODE_FILE=src/foo.c", [...]
      
      I tried that passing all three strings empty (without variable name)
      wouldn't result into the line getting logged; the suggested style does.
      257e5cbd
    • Vladimír Čunát's avatar
      adjust RR-dumping style a little · 0555828e
      Vladimír Čunát authored and Tomas Krizek's avatar Tomas Krizek committed
      The former "default" dumping style isn't really used anywhere in Knot.
      The only visible difference is that RRSIGs are now logged *without*
      replacing their TTLs by the original non-decremented TTL values.
      That can avoid some confusion when reading debug logs.
      (Those original TTLs are still shown a bit further on each line.)
      0555828e
  16. Aug 09, 2021
    • Vladimír Čunát's avatar
      lua kres.type: add new constants · eeb1071d
      Vladimír Čunát authored
      This is all that's missing in comparison to enum knot_rr_type.
      For now I didn't remove types that aren't present there (anymore),
      even though noone would miss them, most likely.
      eeb1071d
  17. Aug 05, 2021
  18. Jul 29, 2021