The name server records its activities in a log file. The default location of the log is /tmp/ns.log. Alternative log file name and location can be specified as the first argument to the name server process (see name_service(8)).
The log indicates in which database (internal table or ANSA trader) the name server resolve the query.