你好。谢谢你的回复。我这边也用getaddrinfo去调试了一下。确实拿不到m6.tuyacn.com的IPV6的地址。
后面我尝试用ping命令去尝试ping了一下贵公司的这个域名。ping也是失败的。是不是我ping的这个域名不正确呢?
[09:48:27:373 INFO-]:check_daemon_alive[311]:>>> cardv process is over !!!
[09:48:27:995 INFO-]:SendMobileData[523]:u8SendBuffer = AT+CGPADDR
[09:48:28:318 INFO-]:ParaseMobileRcvData[377]:u8RcvBuff =
AT+CGPADDR
+CGPADDR: 5,"IPV4:10.106.104.82 IPV6:::2DFB:F646:65EA:E698"
OK
end
kill 747
/ # [09:48:30:413 INFO-]:systemSglHandler[396]: termination abnormally 15 !
/ # ping -6 www.baidu.com
PING www.baidu.com (2409:8c54:870:67:0:ff:b0c2:ad75): 56 data bytes
64 bytes from 2409:8c54:870:67:0:ff:b0c2:ad75: seq=0 ttl=53 time=44.011 ms
64 bytes from 2409:8c54:870:67:0:ff:b0c2:ad75: seq=1 ttl=53 time=43.747 ms
64 bytes from 2409:8c54:870:67:0:ff:b0c2:ad75: seq=2 ttl=53 time=43.593 ms
64 bytes from 2409:8c54:870:67:0:ff:b0c2:ad75: seq=3 ttl=53 time=43.514 ms
C
--- www.baidu.com ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 43.514/43.716/44.011 ms
/ #
/ # ping -6 m6.tuyacn.com
ping: bad address 'm6.tuyacn.com'
/ # ping -6 www.m6.tuyacn.com
ping: bad address 'www.m6.tuyacn.com'
/ # ping -6 www.tuyacn.com
ping: bad address 'www.tuyacn.com'
/ # ping -6 m6.tuyacn.com
ping: bad address 'm6.tuyacn.com'
/ # ifconfig
eth1 Link encap:Ethernet HWaddr F0:4B:B3:B9:EB:E5
inet addr:10.106.104.82 Bcast:10.106.104.255 Mask:255.255.255.0
inet6 addr: fe80::f24b:b3ff:feb9:ebe5/64 Scope:Link
inet6 addr: 2409:8954274d:f24b:b3ff:feb9:ebe5/64 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:618 errors:0 dropped:0 overruns:0 frame:0
TX packets:630 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:151588 (148.0 KiB) TX bytes:46587 (45.4 KiB)
/ #
麻烦你帮忙看一下。谢谢你。辛苦了。