Avalanche: Does HTTP client use DNS reply from DNS client for name resolution?

Knowledge Base - FAQ

Avalanche: Does HTTP client use DNS reply from DNS client for name resolution?
DNS action and HTTP action are separate. DNS response from DNS action is not used in HTTP action. To perform name resolution in HTTP action, DNS server needs to be configured in Client > ports > Test DNS. Let’s explore four different Client ACTION scenarios. 1st scenario +++++++++++++ Client ACTION list DNS A 192.168.1.1 VIAVIcom.com DNS A 192.168.1.1 VIAVIcom.com Expected action Client sends out 2 instances of DNS requests and gets back 2 DNS replies. 2nd scenario: error ++++++++++++ Client ACTION list DNS A 192.168.1.1 VIAVIcom.com 1 get http://VIAVIcom.com/index.html Expected action ========== Error on run: the DNS request will get a DNS response but client will not use this response to do its resolution. What happens on the DNS request ---------- Client’s DNS request asks “Where is VIAVIcom.com” Server answers “VIAVIcom.com” is at 192.168.1.2 What happens on the HTTP request ---------- Why Error on run: no DNS server configured. Client will not use the above response to send out an HTTP GET to 192.168.1.2. This is because DNS test is separate function. DNS response from DNS test is not used for address resolution. We need to configure Domain name resolved through test port. GUI->Client->Port->Test DNS enable, add Primary/Secondary DNS server in the blank. 3rd scenario +++++++++++++ Client ACTION list DNS A 192.168.1.1 VIAVIcom.com 1 get http://VIAVIcom.com/index.html Add Primary DNS server in GUI->Client->Port->Test DNS enable What happens at each of the action? ================================== DNS A 192.168.1.1 VIAVIcom.com ------------------ Client send a DNS request. Gets DNS response but it is not used for resolution 1 get http://VIAVIcom.com/index.html ------------------ Client looks for DNS server configured in Client > Ports > Test DNS Sends a new DNS request. Receives DNS response. Uses this response for HTTP domain-name resolution Pcap for 3rd scenario 4th scenario +++++++++++++++++++++++ Client ACTION list 1 get http://VIAVIcom.com/index.html 1 get http://VIAVIcom.com/index.html Add Primary DNS server in GUI->Client->Port->Test DNS enable What happens ------------------- For this, DNS resolution will occur once, then used for the second HTTP requests. I would say that this is now a HTTP test rather than a DNS test. Pcap for 4th scenario