acountry Command Examples in Linux

acountry command print the country where HOST (an IPv4 address or hostname) is located, using the countries.nerd.dk DNS domain to identify the country. This utility comes with the c-ares asynchronous resolver library.

acountry Command Examples

1. Print the country where an IPv4 address or host is located:

# acountry {{example.com}}

2. Print extra [d]ebugging output:

# acountry -d {{example.com}}

3. Print more [v]erbose information:

# acountry -v {{example.com}}
Related Post