Tuesday, June 29, 2010

Setting DNS (Domain Name System) in your Android device emulator

In my device emulator, the default value of DNS is nothing,  so if want to access a website must type an IP Address of the website in the internet browser application. However you can assign DNS Server address  manually with these command:

  1. Open your command line application (Command Prompt in Windows, Terminal in Linux)

  2. Type these commands:
                  $adb devices
    $adb shell
    #setprop net.dns1 172.17.5.14


  3. Now, back to your device emulator and try to access an website with it's domain address


Note:

  • Replace 172.17.5.14 with your DNS Server address

  • Only one emulator device which active in the computer

8 comments:

  1. by the way, your blog title is same as someone blog's title...

    check this out
    http://rendra.net/

    he's ilkomerz39

    ReplyDelete
  2. Emmm... I was pick this quote "do one thing and do it well" from Unix philosophy http://en.wikipedia.org/wiki/Unix_philosophy
    I'm ilkomerz 42 (IPB)

    ReplyDelete
  3. take the materials away. You ca If you have been contemplating a renovation and are

    ReplyDelete
  4. Hfiz: "Our brains are seventy-year clocks. The Angel of Life winds them up once for all, then closes the case, and gives the key into the hand of the Angel of the Resurrection."

    ReplyDelete
  5. Love is supposed to be the greatest force on Earth. Love is supposed to be able to conquer all. Love is even supposed to be the source of your greatest joy...

    ReplyDelete
  6. riding. Many operators run tours and to get the best from off-roading, or simply finding

    ReplyDelete