Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Retrieve network info from the command line' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Retrieve network info from the command line
Authored by: encro on Jun 22, '10 02:13:36AM
To show your external public (WAN) IP use: dns-sd -X

The method provided above will provide your external IP from your router via NAT-PMP.

You will need to massage the output a little to reduce it to just the IP address.


[ Reply to This | # ]