Your example is really confusing, but in the general case it's not reliably possible to determine the originating IP of someone initiating a DNS query.
The reason for this is the existence of DNS recursion. If I happen to make a DNS query to my DNS server, it usually will take it upon itself (or delegate it itself) to get the data and send it back to me.
All you see on your server is my DNS server asking for the name, but you don't see me.
This even ignores the caching issue - a recursing DNS server will cache an entry it found for the time defined in the records TTL and any subsequent queries for that name from other hosts will be answered out of the cache and you will never notice it at all.
That said, depending on your specific DNS server, it might be possible to log the IPs of systems querying your server, but as I said, this will mostly be other DNS servers recursing down to you.