Skip to content
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

Replaces the Google reCAPTCHA API's domain #507

Merged
merged 1 commit into from
Oct 15, 2022
Merged

Replaces the Google reCAPTCHA API's domain #507

merged 1 commit into from
Oct 15, 2022

Conversation

cherinyy
Copy link

Google provides Google reCAPTCHA endpoints via www.google.com by default. This means that Google reCAPTCHA is not available in some regions, such as the Chinese mainland.

So Google deploys the same endpoints at www.recaptcha.net.

www.recaptcha.net has access to servers in the Chinese mainland in addition to the regular global CDN. So it is a better choice than www.google.com.

@ctrlcctrlv
Copy link
Member

I was at first quite unable to find documentation of this but the OP is not trying to insert their own domain

$ dig A recaptcha.net

; <<>> DiG 9.18.1-1ubuntu1.2-Ubuntu <<>> A recaptcha.net
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 53499
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 65494
;; QUESTION SECTION:
;recaptcha.net.			IN	A

;; ANSWER SECTION:
recaptcha.net.		178	IN	A	142.251.41.3
NetRange:       142.250.0.0 - 142.251.255.255
CIDR:           142.250.0.0/15
NetName:        GOOGLE
NetHandle:      NET-142-250-0-0-1
Parent:         NET142 (NET-142-0-0-0-0)
NetType:        Direct Allocation
OriginAS:       AS15169
Organization:   Google LLC (GOGL)
RegDate:        2012-05-24
Updated:        2012-05-24
Ref:            https://rdap.arin.net/registry/ip/142.250.0.0

OrgName:        Google LLC
OrgId:          GOGL
Address:        1600 Amphitheatre Parkway
City:           Mountain View
StateProv:      CA
PostalCode:     94043
Country:        US
RegDate:        2000-03-30
Updated:        2019-10-31

But then I saw https://developers.google.com/recaptcha/docs/faq#can-i-use-recaptcha-globally

Approved.

@ctrlcctrlv ctrlcctrlv merged this pull request into vichan-devel:master Oct 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants