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

Fix saving and loading DNS rules from the config #18944

Merged
merged 1 commit into from Mar 12, 2024

Conversation

zeroSteiner
Copy link
Contributor

This fixes a bug I noticed in the new DNS changes from #18809. Basically two different key names were being used to save and load the resolver rules. This meant that the rules were saved under one name and loaded under another which meant the rules wouldn't be loaded and DNS would be broken.

  • Make sure there's at least one DNS resolver rule (run dns reset-config and at least one should be populated)
  • Save the configuration with the save command
  • Restart msfconsole and run the dns command, see that the rule was loaded

@cdelafuente-r7
Copy link
Contributor

Thanks @zeroSteiner. This looks good to me. I was able to reproduce the issue and confirm these changes fix it.

@cdelafuente-r7 cdelafuente-r7 self-assigned this Mar 12, 2024
@cdelafuente-r7 cdelafuente-r7 merged commit 69f368b into rapid7:master Mar 12, 2024
37 checks passed
@cdelafuente-r7
Copy link
Contributor

Release Notes

This fixes an issue when saving and loading DNS rules from the config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug feature rn-fix release notes fix
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants