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: only fetch supported record types from the Mikrotik API #135

Merged
merged 4 commits into from
Dec 11, 2024

Conversation

mircea-pavel-anton
Copy link
Collaborator

@mircea-pavel-anton mircea-pavel-anton commented Dec 11, 2024

Fixes #133

The problem was that the webhook was sending an API request to the Mikrotik RouterOS API to get a list of all of the configured DNS records. This would cause an issue since Mikrotik does support some record types that external DNS does NOT support.

This PR adds some filtering to only get a list of supported DNS record types back from the RouterOS API.

@mr-borboto mr-borboto bot added size/S and removed size/XS labels Dec 11, 2024
@mircea-pavel-anton mircea-pavel-anton changed the title fix: FWD records are crashing the webhook fix: only fetch supported record types from the Mikrotik API Dec 11, 2024
@mircea-pavel-anton mircea-pavel-anton merged commit 58df033 into main Dec 11, 2024
11 checks passed
@mircea-pavel-anton mircea-pavel-anton deleted the fix/fwd-record-breaks-conversion branch December 11, 2024 18:41
@mr-borboto
Copy link
Contributor

mr-borboto bot commented Dec 11, 2024

🎉 This PR is included in version 1.2.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@mr-borboto mr-borboto bot added the released label Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Presence of FWD-Pseudo-record crashes the webhook
1 participant