Highlighted
Absent Member.. Absent Member..
Absent Member..
454 views

DNS Script for LR 12.50

Hi all

 

a basic question  - I am trying to reord a simple DNS script with vugen 12.50

The template is not very clear and I couldn't find too much info in the manuals

 

Can you plzz post an example of simple DNS script that queries goggle DNS server (8.8.8.8) for google.com?

thanks a lot!!

 

 

Robert

0 Likes
1 Reply
Highlighted
Micro Focus Contributor
Micro Focus Contributor

Re: DNS Script for LR 12.50

Hello Robert,

The DNS protocol emulates a user accessing a Domain Name Server to resolve a host name with its IP address. Only replay is supported for this protocol—you need to manually add the functions to your script. So it is not possible to record a DNS protocol script.

For an example script look in the VuGen Function Reference for the function named "ms_dns_query". The example of the use of this function contains a full script.

Best regards,

Mark

 

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.