Navigation

    UBports Robot Logo

    UBports Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    DNS servers + changing

    Support
    1
    1
    229
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • U
      ut last edited by ut

      Does anyone know where are the DNS server settings (cellular) and how to change/set them to servers of own preference? Thanks.

      Update 15 Nov 2019

      To check the DNS servers used you can use nmcli (using adb shell):

      1. Get devices
      nmcli d
      

      Result on my phone:

      DEVICE  TYPE      STATE        CONNECTION                
      ril_0   gsm       connected    /204163554125122/context2 
      wlan0   wifi      unavailable  --                        
      sit0    iptunnel  unmanaged    --                        
      lo      loopback  unmanaged    --                        
      
      
      1. Get device info:
      nmcli device show ril_0
      

      Result on my phone:

      GENERAL.DEVICE:                         ril_0
      GENERAL.TYPE:                           gsm
      GENERAL.HWADDR:                         (unknown)
      GENERAL.MTU:                            0
      GENERAL.STATE:                          100 (connected)
      GENERAL.CONNECTION:                     /204163554125122/context2
      GENERAL.CON-PATH:                       /org/freedesktop/NetworkManager/ActiveConnection/1
      IP4.ADDRESS[1]:                         178.227.211.124/24
      IP4.GATEWAY:                            178.227.211.125
      IP4.DNS[1]:                             84.241.227.81 <=== T-Mobile DNS server
      IP4.DNS[2]:                             84.241.227.82 <=== T-Mobile DNS server
      
      
      1 Reply Last reply Reply Quote 0
      • First post
        Last post