• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
UBports Robot Logo UBports Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

DNS servers + changing

Scheduled Pinned Locked Moved Support
1 Posts 1 Posters 322 Views 1 Watching
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 Offline
      ut
      last edited by ut 14 Nov 2019, 14:40

      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
      1 out of 1
      • First post
        1/1
        Last post