Add ntt.net record to example/jwhois.conf. Issue #3.#11
Conversation
There was a problem hiding this comment.
This seems as if it would match the same as the previous verio regexp. Are there any examples of an ntt netblock record? The regexp needs to be updated accordingly.
There was a problem hiding this comment.
Well, it is really hard to read diff in the issue #3. Can you attach to an
issue as a file or email it to me?
On Jan 20, 2015 10:31 PM, "Jonas Öberg" notifications@github.com wrote:
In example/jwhois.conf
#11 (diff):@@ -56,6 +56,11 @@ whois-servers {
"^!?NET(BLK)?-VRIO(-[A-Z0-9]+)+$" = "rwhois.verio.net";#
Catch ntt.net netblock records
- "^!?NET(BLK)?-VRIO(-[A-Z0-9]+)+$" = "rwhois.gin.ntt.net";
This seems as if it would match the same as the previous verio regexp. Are
there any examples of an ntt netblock record? The regexp needs to be
updated accordingly.—
Reply to this email directly or view it on GitHub
https://github.com/jonasob/jwhois/pull/11/files#r23253032.
|
After spending quite a nice amount of time with this issue, I figured out this: And Wikipedia says "In early 2000 Verio was sold to NTT" at https://en.wikipedia.org/wiki/Verio thus the WHOIS server needs to be changed from |
jonasob
left a comment
There was a problem hiding this comment.
Bug: The new regex pattern is identical to the existing Verio pattern:
# Existing (line ~55):
"^!?NET\\(BLK\\)?-VRIO\\(-[A-Z0-9]+\\)+$" = "rwhois.verio.net";
# Added (new):
"^!?NET\\(BLK\\)?-VRIO\\(-[A-Z0-9]+\\)+$" = "rwhois.gin.ntt.net";
Both use the VRIO pattern. Since Verio was acquired by NTT, this duplicate regex means the first match wins and the second is dead code. This should either:
- Replace the existing Verio entry with the NTT one (if NTT's rwhois server has fully taken over), or
- Use a different regex that matches NTT-specific netblock records (e.g. something with
NTTinstead ofVRIO).
Generated by Claude Code
No description provided.