Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions source/dmlxdns/cosa_xdns_dml.c
Original file line number Diff line number Diff line change
Expand Up @@ -1561,6 +1561,10 @@ DNSMappingTable_DelEntry

RemoveDnsmasqConfEntry(pDnsTableEntry->MacAddress);

/* XDNS firewall rules are per-client; refresh them so the removed
* client's DNS redirect rule is dropped immediately (RDKB-64441) */
commonSyseventSet("firewall-restart", "");

if ( returnStatus == ANSC_STATUS_SUCCESS )
{
/* Remove entery from the Queue */
Expand Down Expand Up @@ -1940,6 +1944,10 @@ DNSMappingTable_Commit
#endif
ReplaceDnsmasqConfEntry(pDnsTableEntry->MacAddress, dnsoverrideEntry,1);

/* 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", "");

pDnsTableEntry->MacAddressChanged = FALSE;
pDnsTableEntry->DnsIPv4Changed = FALSE;
pDnsTableEntry->DnsIPv6Changed = FALSE;
Expand Down
Loading