-
Notifications
You must be signed in to change notification settings - Fork 35
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
Feature Request: add sanity checks to hsw-cli
when adding/modifying records
#32
Comments
There is an RPC on the node that can be used for this, |
@mrose17 thanks for bringing this up. hs-client is just an empty wrapper client to make calls to an hsd node, so features like this would likely go in hsd itself. Like @tynes said we have a For example, reminiscent of Bitcoin Core's Possible example result
Marshall I'd appreciate your suggestions for things to test |
@pinheadmz - when in doubt, see what the isc did with bind. in this case, we have https://kb.isc.org/docs/aa-01127 ... so my short answer is to get the source for that and integrate that into the other thing I would check is to see how the invalid RRs got into the HNS zone. if does that make sense? |
Some of the data in the HNS root zone are "wrong", e.g., IP addresses being used as the name of NS RRs (instead of as the value of the RR).
i suggest that
hsw-cli
be extended to include a module that does a syntax/sanity check whenrecords
are created/modified, e.g., as in:If you go to any DNS service that let's you edit RRs, they all perform such checks (or at least they should). I suggest taht
hsw-cli
do the same!The text was updated successfully, but these errors were encountered: