最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

xml - I want to fix dns in a gprs connection with a xmll file - Stack Overflow

programmeradmin4浏览0评论
<NetworkConfigurations>
      <GprsConnectionConfiguration>
        <Login />
        <Password />
        <PhoneNumber>*99***1#</PhoneNumber>
        <ExtraParameters>+CGDCONT=1,"IP","UMTS"</ExtraParameters>
        <ModemBaudRate>115200</ModemBaudRate>
        <AllowDataRoaming>false</AllowDataRoaming>
        <PauseBetweenResetFirmware>24</PauseBetweenResetFirmware>
      </GprsConnectionConfiguration>
    </NetworkConfigurations>
  </NetworkConfiguration>

How can i indicate de primary dns ip in this configuration

<NetworkConfigurations>
      <GprsConnectionConfiguration>
        <Login />
        <Password />
        <PhoneNumber>*99***1#</PhoneNumber>
        <ExtraParameters>+CGDCONT=1,"IP","UMTS"</ExtraParameters>
        <ModemBaudRate>115200</ModemBaudRate>
        <AllowDataRoaming>false</AllowDataRoaming>
        <PauseBetweenResetFirmware>24</PauseBetweenResetFirmware>
      </GprsConnectionConfiguration>
    </NetworkConfigurations>
  </NetworkConfiguration>

How can i indicate de primary dns ip in this configuration

Share Improve this question asked Mar 26 at 12:32 José Alexandre Barbosa GomesJosé Alexandre Barbosa Gomes 111 bronze badge
Add a comment  | 

1 Answer 1

Reset to default 0

Include a primary dns, e.g. google 8.8.8.8:

<ExtraParameters>+CGDCONT=1,"IP","UMTS";+CDNSCFG="8.8.8.8"</ExtraParameters>
发布评论

评论列表(0)

  1. 暂无评论