Re: [android-developers] Re: DNS Query

2010-02-06 Thread Android Development
Thanks for this discussion Bob. Based on this discussion, I have implemented a DNS client at the application and tested it out too. It works well. On 2/4/10, Bob Kerns r...@acm.org wrote: Ah, this provides a lot more context -- but not all of it! Normally, this sort of thing is handled

[android-developers] Re: DNS Query

2010-02-04 Thread Bob Kerns
Ah, this provides a lot more context -- but not all of it! Normally, this sort of thing is handled through DHCP or similar. I don't know if you have access to the server providing the information -- are you the carrier? To change the DNS resolution policies in any way, will require root access,

[android-developers] Re: DNS Query

2010-02-03 Thread Lewske Wada
Hi Radhika, radhika wrote: Hi All, Am a beginner in this area. I am trying to find out how a DNS query is sent from the android device. Am unable to locate the code. Can someone help me by showing me the code where a DNS query is sent. For example, may be from some application like

Re: [android-developers] Re: DNS Query

2010-02-03 Thread Android Development
What if the application requires to send a query to a DNS server installed at a particular IP address. how do i configure my DNS server in *hosts/**resolv**.**conf from the application ?* *** * On Wed, Feb 3, 2010 at 8:40 PM, Lewske Wada r...@run.sh wrote: Hi Radhika, radhika wrote: Hi

Re: [android-developers] Re: DNS Query

2010-02-03 Thread Lewske Wada
You probably are not basically able to change it to your own server. Chances are you can connect to your internal WiFi network and get the automatic DNS settings from dhcpd or whatever. I can dynamically connect through my own rooter (Linux) and pass that beyond to the internet by IP masquerading.

[android-developers] Re: DNS Query

2010-02-03 Thread Bob Kerns
Then you are doing something VERY strange. DNS is a service provided to hosts (systems, i.e. your phone) by the network. It is not something that is under the control of the application. Generally, a DHCP server (or the wireless carrier) will supply you with your IP address, default router, DNS

[android-developers] Re: DNS Query

2010-02-03 Thread Bob Kerns
I didn't mean that to be harsh, BTW. Knowing that an approach is out in left field, and why, is useful information. Some of the most useful information you can get, as a beginner, since it narrows the focus of what you have to learn, a lot! On Feb 3, 9:21 am, Bob Kerns r...@acm.org wrote: Then

Re: [android-developers] Re: DNS Query

2010-02-03 Thread Android Development
Bob, making a DNS query by the application is a standardized procedure of 3GPP (3rd generation partnership project). All Mobile devices need to query a DNS server installed in the VoIP network to find the address of the server which will process their requests. This DNS server is under the control