On Tue, Dec 08, 2020 at 02:54:03PM +0100, Walter H. wrote:
Yes, then the interesting question, how can I make use of these GeoIP-features when doing these e.g.
nslookup 200:470:17:55::1 nslookup 222.10.10.1 nslookup www.centos.org host www.centos.org
Looking at the source, it looks like the geoip-related functions are only called in the 'named' code and the libdns library. I don't see any features in dig, host or nslookup for looking up countries based on IP. However, the GeoIP package has a 'geoiplookup' command that looks up a country from an IP.