Skip to content

Commit

Permalink
Removes dnsmessage.Parser usage
Browse files Browse the repository at this point in the history
For code flow simplicity when handling data that may or may not be structured
precisely as expected it's easier to move to unpacking the whole message and
handling that as is.
  • Loading branch information
atomirex committed Dec 23, 2024
1 parent cde859b commit 4237681
Show file tree
Hide file tree
Showing 7 changed files with 304 additions and 245 deletions.
3 changes: 3 additions & 0 deletions config.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,7 @@ type Config struct {

// Interfaces will override the interfaces used for queries and answers.
Interfaces []net.Interface

// Override the default behavior of echoing the query with the answer
DoNotEchoQueryWithAnswer bool
}
Loading

0 comments on commit 4237681

Please sign in to comment.