Skip to content

RDKB-64441 : Trigger firewall restart on XDNS client entry add/delete/commit - #33

Open
rajkamal-cv wants to merge 1 commit into
developfrom
bug/RDKB-64441
Open

rajkamal-cv wants to merge 1 commit into
developfrom
bug/RDKB-64441

Conversation

@rajkamal-cv

Copy link
Copy Markdown

RDKB-64441 : Trigger firewall restart on XDNS client entry add/delete/commit

Reason for change: DNSMappingTable add/delete/commit did not refresh firewall DNS redirect rules, so client-level XDNS tagging changes were not applied until a manual restart.
Test Procedure: Add/delete DNSMappingTable entry, verify firewall rules update. Risks: Low
Priority: P1
Signed-off-by: rajkamal_cv@comcast.com

Related PR - rdkcentral/utopia#462

…/commit

Reason for change: DNSMappingTable add/delete/commit did not refresh
firewall DNS redirect rules, so client-level XDNS tagging changes were
not applied until a manual restart.
Test Procedure: Add/delete DNSMappingTable entry, verify firewall rules update.
Risks: Low
Priority: P1
Signed-off-by: rajkamal_cv@comcast.com
@github-actions

Copy link
Copy Markdown

📋 PR Format Reminder

  • Description missing:
    • Risks (Low / Medium / High)

Expected:

TICKET-123 : brief description

Reason for change: why
Test Procedure: how to verify
Risks: Low / Medium / High
Priority: P0 / P1 / P2

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

Both notifications follow configuration updates and reuse the existing restart mechanism; the remaining regression-test suggestion is non-blocking.

1 open issue
What changed in this PR

Refreshes firewall DNS redirect rules when XDNS client mappings change, supporting the per-client redirects introduced by the related Utopia PR.

Changes:

  • Requests a firewall restart after removing a client mapping.
  • Requests a firewall restart after committing a new or updated mapping.
File Description
source/​dmlxdns/​cosa_xdns_dml.c Adds firewall restart notifications after mapping deletion and commit.

Review effort: Balanced


/* XDNS firewall rules are per-client; refresh them so the new/updated
* client's DNS redirect rule is applied immediately (RDKB-64441) */
commonSyseventSet("firewall-restart", "");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants