The query log stores block, source, upstream, timing, opcode and answer-summary columns and can be searched by them #102
Labels
No labels
agent
api-regen
agent
architect
agent
coder
agent
console-coder
agent
docs-writer
agent
mechanic
agent
protocol-coder
agent
storage-coder
area/api
area/ci
area/console
area/dhcp
area/dns
area/docs
area/packaging
area/process
area/storage
area/windows
kind
bug
kind
chore
kind
docs
kind
epic
kind
feature
kind
performance
kind
security
kind
test
priority
high
priority
low
priority
medium
resolution
duplicate
resolution
not-a-bug
resolution
wontfix
status
blocked
status
in-progress
status
needs-decision
status
needs-design
status
ready
theme
ad-samba-dns
theme
alternatives-benchmark
theme
console-toolchain
theme
later
theme
parity-devices
theme
parity-query
theme
post-release-fixes
theme
tracker-setup
theme
valkey
theme
windows-installer
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Depends on
Reference
lantea-one/ninlil#102
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
DnsQueryLogEntryEntityhas no columns for the new event fields (DnsQueryLogEntryEntity.cs:23-76), and its indexes cover only time, client, response code and client id (src/dotnet/src/Ninlil.Dns.Data.EntityFrameworkCore/Configuration/DnsQueryLogEntryConfiguration.cs:38-62).What changes
Opcode,AnswerSource,Upstream(max 255),ElapsedMicroseconds(long),IsAuthenticData,BlockKind?,BlockListId?,BlockListName(max 255),BlockRule(max 512) andAnswerSummary(max 512). All columns are nullable or defaulted, so existing rows stay valid (an existing row reads as opcodeQuery).DnsQueryLogEntryConfiguration: add indexes(AnswerSource, OccurredAtUtc)and(BlockListId, OccurredAtUtc).DnsQueryLogSearchCriteria: addAnswerSource?,BlockedOnly?,BlockListId?,UpstreamandOpcode?(absorbs BUG-36's search part).Ninlil.Dns.Data.MongoDb/Maintenance/MongoIndexCatalog.cs).MongoSchemaSteps.Knownentry (Ninlil.Dns.Data.MongoDb/Maintenance/MongoSchemaSteps.cs).AddQueryLogOutcome), converted withfile-scoped-namespaces.sh.Seeding/BenchmarkDataSet.csVersionand seed the new fields, with a realistic answer summary on most rows.Acceptance
BlockedOnly = truereturns only blocked rows. It fails first insrc/dotnet/tests/Ninlil.Dns.Data.Integration.Tests: SQLite without Docker, the other engines underRequiresDocker.Opcode = Updatereturns only the UPDATE row, on every engine.QueryLogWriteBenchmarksandQueryLogSearchBenchmarksat--scale Largeon Sqlite and PostgreSql, before and after, numbers in the PR, with the row-size growth from the answer summary stated.Source
audit-feature-parity.md§2A #2; bughunt-plan.md:539 (B20-3).