scan.l: Deprecate DNS resolutions of hostname literals

This also skips DNS lookups when running with zeek --parse-only.

Closes #4216 #4219
This commit is contained in:
Arne Welzel 2025-03-04 11:13:25 +01:00
parent e14f54b474
commit 715c309b03
12 changed files with 52 additions and 4 deletions

View file

@ -0,0 +1,2 @@
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
warning in <...>/hostname-literal-resolve.zeek, line 11: Remove in v8.1: DNS lookup of host literal 'dns.example.com' is deprecated. Replace with blocking_lookup_hostname().