) tend to survive much longer and are more stable, scalable and generally lookedĪfter than whatever new hip HTTP service is hot today. Historically DNS services (OpenDNS, Google Public DNS.The DNS response protocol is standardised (the format will stay compatible).They also change quiteįrequently (go down, change their name, put up ads, might change To make the server respond in plain text. Them require parsing of the output, or rely on the User-Agent header The other answers here all go over HTTP to a remote server. You could also use lynx(browser) or curl in place of wget with minor variations to the above command, to find your external ip.įor a better formatted output use: $ curl echoĪ faster (arguably the fastest) method using dig with OpenDNS as resolver: Since wget is available by default in Ubuntu, we can use that. The easiest way is to use an external service via a commandline browser or download tool. Finding external IP using external services the two methods has been discussed below in detail. The easier one is to use the external service, also the ifconfig based solutions will work in your system only if you're not behind a NAT. For finding the external ip, you can either use external web-based services, or use system based methods.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |