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 500 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

        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

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post