** Please note I am not after an online conversion provider **
Where does the source data come for an IP > Country lookup? For example the WHOIS database has a Country flag but it cannot be relied upon. Where is the source for the connection?
Is it a case that 123.x.x.x always points to Asia, 123.123.x.x always points to Japan etc?
Additionally what about IP6 addresses?