You are not logged in.

#1 2021-06-30 02:53:55

bigo
Member
Registered: 2021-06-30
Posts: 8

[ SOLVED]Server name can not be resolved

When I visit https://www.jd.com in China mainland on my Archlinux laptop, I got an error message from chromium console:

GET https://storage.360buyimg.com/pc-pre-tmp/jquery.js net::ERR_NAME_NOT_RESOLVED

and of course, the web page can not show correctly.

then I tried:

ping storage.360buyimg.com

and  I got negtive response too.

then I tried:

nslookup storage.360buyimg.com

I got right response.

Server:		192.168.3.1
Address:	192.168.3.1#53

Non-authoritative answer:
storage.360buyimg.com	canonical name = storage.360buyimg.com.gslb.qianxun.com.
storage.360buyimg.com.gslb.qianxun.com	canonical name = cloud.jdcdn.com.
cloud.jdcdn.com	canonical name = opencdnjd.jomodns.com.
Name:	opencdnjd.jomodns.com
Address: 60.188.66.41
Name:	opencdnjd.jomodns.com
Address: 183.131.118.41
Name:	opencdnjd.jomodns.com
Address: 183.131.185.41
Name:	opencdnjd.jomodns.com
Address: 122.228.115.41
Name:	opencdnjd.jomodns.com
Address: 60.190.116.41
Name:	opencdnjd.jomodns.com
Address: 115.238.187.41
Name:	opencdnjd.jomodns.com
Address: 115.238.242.41
Name:	opencdnjd.jomodns.com
Address: 121.12.53.41
Name:	opencdnjd.jomodns.com
Address: 121.32.228.41
Name:	opencdnjd.jomodns.com
Address: 122.228.93.41
Name:	opencdnjd.jomodns.com
Address: 240e:97e:1000:400::7171:4329
Name:	opencdnjd.jomodns.com
Address: 240e:97e:1000:e01::790c:3529
Name:	opencdnjd.jomodns.com
Address: 240e:97e:6004:1::7920:e429
Name:	opencdnjd.jomodns.com
Address: 240e:f7:7c00:900::b783:7629
Name:	opencdnjd.jomodns.com
Address: 240e:f7:8e00:400::b783:b929
Name:	opencdnjd.jomodns.com
Address: 240e:f7:a000:213::73ee:bb29
Name:	opencdnjd.jomodns.com
Address: 240e:f7:c000:306::7ae4:7329
Name:	opencdnjd.jomodns.com
Address: 240e:f7:c000:310::7ae4:5d29
Name:	opencdnjd.jomodns.com
Address: 240e:97d:2000:900::3b24:cb29
Name:	opencdnjd.jomodns.com
Address: 240e:f7:e000:604::3cbc:4229

Now I have no idea about this, anybody can help me?

uname -a
Linux bigo 5.12.13-arch1-2 #1 SMP PREEMPT Fri, 25 Jun 2021 22:56:51 +0000 x86_64 GNU/Linux

chromium --version
Chromium 91.0.4472.114 Arch Linux

Last edited by bigo (2021-07-02 01:31:21)

Offline

#2 2021-06-30 03:06:00

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [ SOLVED]Server name can not be resolved

1. Please remove the redundant plea for help from the thread title: https://wiki.archlinux.org/index.php/Co … ow_to_post

2. Works for me, so probably Chinese Great Firewall at work.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2021-06-30 03:19:10

bigo
Member
Registered: 2021-06-30
Posts: 8

Re: [ SOLVED]Server name can not be resolved

jasonwryan wrote:

1. Please remove the redundant plea for help from the thread title: https://wiki.archlinux.org/index.php/Co … ow_to_post

2. Works for me, so probably Chinese Great Firewall at work.

Oh I am sorry,  newbie's first post.

It also works correctly on my another UBUNTU laptop with the same network configration.

That's why I puzzled.

Last edited by bigo (2021-06-30 03:24:07)

Offline

#4 2021-06-30 06:54:03

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,443

Re: [ SOLVED]Server name can not be resolved

% nslookup storage.360buyimg.com
Server:		192.168.11.1
Address:	192.168.11.1#53

Non-authoritative answer:
storage.360buyimg.com	canonical name = storage.360buyimg.com.gslb.qianxun.com.
storage.360buyimg.com.gslb.qianxun.com	canonical name = img10.jdcdn.com.
img10.jdcdn.com	canonical name = img10.360buyimg.com.wscdns.com.
Name:	img10.360buyimg.com.wscdns.com
Address: 163.171.132.119
Name:	img10.360buyimg.com.wscdns.com
Address: 163.171.156.28

I checked the first IPs that are resolved for you and they're all Winnie-the-Pooh-country-NET.

Do you use a different DNS server on Ubuntu? What's resolved there?
Can you

nslookup storage.360buyimg.com 8.8.8.8 # google
dig @1.1.1.1 storage.360buyimg.com # cloudflare
drill @9.9.9.9 storage.360buyimg.com # quad9
ping 163.171.132.119

Offline

#5 2021-06-30 12:11:39

bigo
Member
Registered: 2021-06-30
Posts: 8

Re: [ SOLVED]Server name can not be resolved

seth wrote:
% nslookup storage.360buyimg.com
........
nslookup storage.360buyimg.com 8.8.8.8 # google
dig @1.1.1.1 storage.360buyimg.com # cloudflare
drill @9.9.9.9 storage.360buyimg.com # quad9
ping 163.171.132.119

On XUBUNTU20.04 nslookup and ping can both work.

$ nslookup storage.360buyimg.com
Server:		127.0.0.53
Address:	127.0.0.53#53

Non-authoritative answer:
storage.360buyimg.com	canonical name = storage.360buyimg.com.gslb.qianxun.com.
storage.360buyimg.com.gslb.qianxun.com	canonical name = cloud.jdcdn.com.
cloud.jdcdn.com	canonical name = opencdnjd.jomodns.com.
Name:	opencdnjd.jomodns.com
Address: 113.113.67.41
Name:	opencdnjd.jomodns.com
Address: 113.105.172.41
Name:	opencdnjd.jomodns.com
Address: 113.96.178.41
Name:	opencdnjd.jomodns.com
Address: 59.36.203.41
Name:	opencdnjd.jomodns.com
Address: 27.148.188.41
Name:	opencdnjd.jomodns.com
Address: 14.215.89.41
Name:	opencdnjd.jomodns.com
Address: 121.32.228.41
Name:	opencdnjd.jomodns.com
Address: 60.190.116.41
Name:	opencdnjd.jomodns.com
Address: 60.188.66.41
Name:	opencdnjd.jomodns.com
Address: 113.113.73.41
Name:	opencdnjd.jomodns.com
Address: 240e:ff:d190:601::7160:b229
Name:	opencdnjd.jomodns.com
Address: 240e:964:1001:1::1b94:bc29
Name:	opencdnjd.jomodns.com
Address: 240e:f7:c010:700::3cbe:7429
Name:	opencdnjd.jomodns.com
Address: 240e:97e:6004:1::7920:e429
Name:	opencdnjd.jomodns.com
Address: 240e:97f:2000:201::7171:4929
Name:	opencdnjd.jomodns.com
Address: 240e:f7:ee01:ba00::73ee:f229
Name:	opencdnjd.jomodns.com
Address: 240e:ff:9008:501::7169:ac29
Name:	opencdnjd.jomodns.com
Address: 240e:97d:2000:900::3b24:cb29
Name:	opencdnjd.jomodns.com
Address: 240e:97d:6004:101::ed7:5929
Name:	opencdnjd.jomodns.com
Address: 240e:f7:e000:604::3cbc:4229

and

>$ ping storage.360buyimg.com
PING opencdnjd.jomodns.com (113.113.67.41) 56(84) bytes of data.
64 bit,from 113.113.67.* (113.113.67.*): icmp_seq=1 ttl=52 time=38.7 ms
64 bit,from 113.113.67.* (113.113.67.*): icmp_seq=2 ttl=52 time=36.6 ms
64 bit,from 113.113.67.* (113.113.67.*): icmp_seq=3 ttl=52 time=37.0 ms
64 bit,from 113.113.67.* (113.113.67.*): icmp_seq=4 ttl=52 time=35.8 ms
64 bit,from 113.113.67.* (113.113.67.*): icmp_seq=5 ttl=52 time=36.5 ms
64 bit,from 113.113.67.* (113.113.67.*): icmp_seq=6 ttl=52 time=143 ms
......

these are come from XUBUNTU 20.04

$ uname -a
Linux bigo-desktop 5.4.0-74-generic #83-Ubuntu SMP Sat May 8 02:35:39 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Offline

#6 2021-06-30 14:23:24

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,443

Re: [ SOLVED]Server name can not be resolved

Ubuntu resolves from the localhost (likely systemd-resolved) instead of the gateway  and gets different IPs (still chinanet.cn.net)
=> What DNS servers are configured in ubuntu's resolved and the gateway?

Did you try the pinging, drilling and digging on the arch system?

Offline

#7 2021-07-02 01:34:16

bigo
Member
Registered: 2021-06-30
Posts: 8

Re: [ SOLVED]Server name can not be resolved

It already works after update a new kernel.

THANKS all of you!

Offline

Board footer

Powered by FluxBB