Im trying to understand how the DNS and nslookup work, I'm a bit confused.
This is a test setup, I have a DNS server with the IP
192.168.102.159 (A Cent OS VM) the DNS is configured with a zone
When I nslookup
abc.i it results with the server address of
192.168.102.2 which is the IP address of the VM Workstation's default gateway, this is confusing me, is my DNS working ?
Isn't it suppose to return the DNS server address
The nslookup query in the screenshot above is run in PuTTY through which I'm logged into the DNS server as a root user, basically I'm running a DNS query on a DNS server itself, querying it's own IP.
If someone could clarify it a bit, it's really confusing.
Also if this is not the way to test it how else can I test it?