Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: DNS test library #851

Open
yegoratpinterest opened this issue Nov 26, 2018 · 0 comments
Open

Feature request: DNS test library #851

yegoratpinterest opened this issue Nov 26, 2018 · 0 comments

Comments

@yegoratpinterest
Copy link

I need to be able to:

  1. Make dynamic resolution during the runtime
  2. Test DNS resolution correctness (including EDNS)
  3. (Optional) Get resolution timing and other stats even though it is not strictly required

Implemented so far:
Simple resolution for A records, ie.

import dns from "k6/dns";
...
let ip = [0,0,0,0,0,0,0,0,0,0,255,255].concat(
  dns.getAllA(endpoint[cdn]['default'])[0].split("."));

Next step is to add stats and advanced features.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants