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: Add dns down #156

Merged
merged 1 commit into from
May 12, 2023
Merged

Conversation

lengdanran
Copy link
Contributor

Describe what this PR does / why we need it

Add the DNS down failure feature that can make domain name resolution impossible within the host. This fault supports adding domain names that allows normal access using the parameter allow_domain.

Does this pull request fix one issue?

Describe how you did it

iptables

Describe how to verify it

  • make dns down and no domain will be resolved properly.
    blade create network dns_down

  • make dns down while aliyun.com and taobao.com will be be resolved properly.
    blade create network dns_down --allow_domain=aliyun.com,taobao.com

Special notes for reviews

Signed-off-by: lengdanran <lengdanran@126.com>
@tiny-x tiny-x added this to the v1.7.2 milestone May 11, 2023
@tiny-x tiny-x added the type/enhancement New feature or request label May 11, 2023
@tiny-x tiny-x self-requested a review May 11, 2023 06:24
@tiny-x tiny-x merged commit d0e5460 into chaosblade-io:master May 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants