How to test DNS Virtual Server with nslookup command

Hi Gurus,

I configured a VS (LTM only, no GTM) to load balance to many DNS servers. On F5 box, I want to test this VS using NSLOOKUP command with the VS name (not IP). How can to do this?

Regards,

Phong

You will need to configure the DNS section of the GUI so it can resolve the hostname. Or even add a static host instead. That way you should be able to reference the hostname and not just the IP address.

Hope this helps,

N

The nslookup command has an option to specify the DNS server to be used for hostname lookup. If the DNS virtual server is at 10.10.10.10, then you could use this: nslookup some.host.name.xyz 10.10.10.10

Thank CharlesCS The problem is VS has IP 8.8.8.8 and the Pool member is 8.8.8.8:53. So if I use nslookup abc.com 8.8.8.8, I don’t F5 use this VS or not. Phong

Please correct me if I am wrong. If the f5 has the ability to work as GTM, then only it will show you the result.

Experts, please do comment here as I am also curious about this question. I’ll test this once I will be on the f5 CLI.

If you have the F5 VIP and pool member with the same IP address it wouldn’t work anyway as the F5 would load balance to itself not to the actual 8.8.8.8 because of how networking works

Thank Andrew. But It worked for a year. It make me confuse so I want to test it. Phong