For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

Phong_Tang_7213's avatar
Phong_Tang_7213
Icon for Altostratus rankAltostratus
Feb 19, 2016

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

 

6 Replies

  • nathe's avatar
    nathe
    Icon for Cirrocumulus rankCirrocumulus

    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