mirror of
https://github.com/abh/geodns.git
synced 2026-04-26 19:35:51 +03:00
[GH-ISSUE #127] Match by IP Prefix/24 or /32 #377
Labels
No labels
bug
bug
enhancement
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/geodns#377
Loading…
Add table
Add a link
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?
Originally created by @praveenkumar2608 on GitHub (Jun 15, 2021).
Original GitHub issue: https://github.com/abh/geodns/issues/127
Hi Team
I am unsuccessful in getting domain resolved by matching IP address or IP prefix. I think it is supported. Could you please give me some example config for the same.
@praveenkumar2608 commented on GitHub (Jun 22, 2021):
@abh
@abh commented on GitHub (Jun 22, 2021):
Yeah, that really should be documented!
For a /32, use "[98.248.0.1]” (no quotes, but square brackets).
and for a /24 use "[98.248.0.0]” — basically if the last octet is a 0 then the code will match the whole /24.
Other CIDR masks aren’t supported.
The same for IPv6; except the /24 equivalent is a /48.
@praveenkumar2608 commented on GitHub (Jul 2, 2021):
@abh Thank you very much, it works. I would love to see DNSSEC support. Any forecast on this feature.