-
-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide regex ID for API #1607
Provide regex ID for API #1607
Conversation
e5a5aa8
to
22e0e82
Compare
Signed-off-by: DL6ER <[email protected]>
22e0e82
to
a9d4771
Compare
Rebased on latest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did you drop all the ttl
stuff?
You're creating a new column in the database for the regex_id
. So far, this was part of additional_info
. Why did you change that? Do you plan to migrate the existing data from additional_info
?
Pi-hole handles queries by "question" (a single domain) but TTL applies to replies and there may actually be multiple. Plus things get really difficult to disentangle when CNAMEs are there as well and even worse when a query is partially replied to from cache. This little extra bit of information is hard to get, not always unique and overall complicates code too much. That's why I decided to drop it - this code was never used (it was commented out before).
Yes, it is in |
Needs documentation changes in https://deploy-preview-338--pihole-docs.netlify.app/database/ftl/ |
Co-authored-by: yubiuser <[email protected]> Signed-off-by: DL6ER <[email protected]>
Is this implemented with this PR as well? Add:
I just tested it: it's the same. |
Signed-off-by: DL6ER <[email protected]>
Signed-off-by: DL6ER <[email protected]>
By submitting this pull request, I confirm the following:
How familiar are you with the codebase?:
10
See title. This was so far missing.