Patent ID: 7826410

Claim:
A method for updating a domain name server (DNS) address of a mobile terminal in a wireless mobile network based on a mobile internet protocol (IP), the method comprising: sampling, by the mobile terminal, at least one address of a domain name server (DNS) connected to the wireless mobile network, the sampling including broadcasting a message for sampling the at least one DNS address connected to the wireless mobile network, receiving a response message to the broadcasted message before a period of a predetermined timer is finished when the predetermined timer is initialized, and sampling a DNS address in the received message; determining if the response message is received before the period of the predetermined timer is finished; parsing the received response message and sampling the DNS address when the response message is received before the period of the predetermined timer is finished; calculating, by the mobile terminal, a roundtrip delay between the mobile terminal and the respective sampled DNSs; selecting, by the mobile terminal, a DNS address having a minimum roundtrip delay; and updating the DNS address of the mobile terminal to be the selected DNS address.