
80630NT11837A Rev. 1
Page
16
of
40
2020-09-03
5. DNS SCRIPT
If the base station does not allocate DNS, then you need to configure the DNS server
through the AT command EDNSSET. If the module is not configured with a DNS server,
all services related to domain name resolution cannot be performed. EDNSSET can be
configured with two IPV4 DNS servers and two IPV6 DNS servers.After EDNSSET
configures DNS, it needs to re-register the network to take effect.The following
demonstrates an example of setting up an ipv4 DNS server, then re-registering the
network, and using the EDNS command to resolve the domain name.
Note:
You can use command AT+CGCONTRDP=1 to query whether the network
allocates DNS.
AT+EDNSSET=0,0,"114.114.114.114"
OK
AT+CFUN=0
OK
AT+CFUN=1
OK
+CPIN: READY
+IP: 100.113.57.57
AT+EDNS="www.google.com
OK
+EDNS:31.13.83.1
Содержание NE310H2
Страница 1: ...01 2017 Mod 0809 2017 01 Rev 8 NE310H2 NL865H2 Quick Start Guide 80630NT11837A Rev 1 2020 09 03...
Страница 4: ...80630NT11837A Rev 1 Page 4 of 40 2020 09 03 APPLICABILITY TABLE PRODUCTS NE310H2 W1 NL865H2 W1...
Страница 27: ...80630NT11837A Rev 1 Page 27 of 40 2020 09 03 PSM eDRX Graphs...
Страница 40: ...01 2017 Mod 0809 2017 01 Rev 8...