I've encountered an issue with Bing's geolocation service. I'm using a VPS from GreenCloud, located in their Tokyo datacenter. The ISP is XTOM-JAPAN (xTom Japan). When I test the connection using curl -I https://bing.com
from its IPv6 address, Bing unexpectedly sets my location to China.
Details:
VPS Provider: GreenCloud
Datacenter Location: Tokyo, Japan
ISP: XTOM-JAPAN (xTom Japan)
Protocol: IPv6
Expected Location: Japan
Here are the results of nslookup commands:
root@GreenCloud:~# nslookup bing.com
Server: 8.8.8.8
Address: 8.8.8.8#53
Non-authoritative answer:
Name: bing.com
Address: 13.107.21.200
Name: bing.com
Address: 204.79.197.200
Name: bing.com
Address: 2620:1ec:c11::200
And here's the curl log:
root@GreenCloud:~# curl -I -4 https://bing.com
HTTP/2 301
cache-control: private
content-length: 193
content-type: text/html; charset=utf-8
location: https://www.bing.com:443/?toWww=1&redig=F5BF478AE23048D0926D12CC48D8D4E4
set-cookie: MUID=23F840D48B236868319655CA8A7E69D7; domain=bing.com; expires=Fri, 14-Nov-2025 14:36:45 GMT; path=/; secure; SameSite=None
set-cookie: MUIDB=23F840D48B236868319655CA8A7E69D7; expires=Fri, 14-Nov-2025 14:36:45 GMT; path=/; HttpOnly
set-cookie: _EDGE_S=F=1&SID=0825B090BD5165E012F7A58EBC0C64DE; domain=bing.com; path=/; HttpOnly
set-cookie: _EDGE_V=1; domain=bing.com; expires=Fri, 14-Nov-2025 14:36:45 GMT; path=/; HttpOnly
x-eventid: 6715157df6d2442bbc24d7b784e4d6ec
useragentreductionoptout: A7kgTC5xdZ2WIVGZEfb1hUoNuvjzOZX3VIV/BA6C18kQOOF50Q0D3oWoAm49k3BQImkujKILc7JmPysWk3CSjwUAAACMeyJvcmlnaW4iOiJodHRwczovL3d3dy5iaW5nLmNvbTo0NDMiLCJmZWF0dXJlIjoiU2VuZEZ1bGxVc2VyQWdlbnRBZnRlclJlZHVjdGlvbiIsImV4cGlyeSI6MTY4NDg4NjM5OSwiaXNTdWJkb21haW4iOnRydWUsImlzVGhpcmRQYXJ0eSI6dHJ1ZX0=
strict-transport-security: max-age=31536000; includeSubDomains; preload
content-security-policy: script-src https: 'strict-dynamic' 'report-sample' 'wasm-unsafe-eval' 'nonce-AmU62xE9qaUTuMZWf90UpVqlgq8Gi5nQj8NoIDpUKg8='; base-uri 'self';
x-cache: CONFIG_NOCACHE
accept-ch: Sec-CH-UA-Arch, Sec-CH-UA-Bitness, Sec-CH-UA-Full-Version, Sec-CH-UA-Full-Version-List, Sec-CH-UA-Mobile, Sec-CH-UA-Model, Sec-CH-UA-Platform, Sec-CH-UA-Platform-Version
x-msedge-ref: Ref A: 6DA28DECECC54ADF9B9BCBF8D232483C Ref B: TYBEDGE0919 Ref C: 2024-10-20T14:36:45Z
date: Sun, 20 Oct 2024 14:36:45 GMT
root@GreenCloud:~# curl -I -6 https://bing.com
HTTP/2 301
content-length: 0
location: https://cn.bing.com/
accept-ch: Sec-CH-UA-Arch, Sec-CH-UA-Bitness, Sec-CH-UA-Full-Version, Sec-CH-UA-Full-Version-List, Sec-CH-UA-Mobile, Sec-CH-UA-Model, Sec-CH-UA-Platform, Sec-CH-UA-Platform-Version
x-msedge-ref: Ref A: 07AD56E9180741008DE51EDAB5A0B434 Ref B: HKBEDGE0619 Ref C: 2024-10-20T14:36:22Z
date: Sun, 20 Oct 2024 14:36:22 GMT