ideakid / sipdroid

Automatically exported from code.google.com/p/sipdroid
GNU General Public License v3.0
0 stars 0 forks source link

DNS caching even after reboot? #580

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I am using sipdroid 1.4.7 beta.  I am finding that even after a reboot of my 
Android device, sipdroid does not (go out to the network to) lookup the ip 
address for the name i have configured in the Server setting.  I can only 
assume it (or android perhaps) is caching it, even across reboots.

My test rig for this assumption is my android device on wifi, behind a dhcp/dns 
server/router.  I am packet sniffing on the wifi side of the router, where the 
android device is.  I reboot my android device and it gets an ip address from 
the dhcp server along with a dns server pointer to the router.

sipdroid then starts to connect to my sip server without ever having asked the 
DNS server for it's ip address, even though I do have the server configured in 
sipdroid by name, not ip address.

What is interesting is that it does not appear to be android itself doing the 
caching because there a number of other names that are looked up in DNS on 
every reboot.

Any idea of what's happening here?

Original issue reported on code.google.com by brianjmu...@gmail.com on 30 Jul 2010 at 3:14

GoogleCodeExporter commented 9 years ago
Did you find out what the problem was?
I actually have an opposite problem. I enter a server IP and Sipdroid just 
translates that IP to a domain. Could you share your solution?

Original comment by mike....@gmail.com on 30 Nov 2010 at 4:07