Renew License Filter Rules

What Filter Rules should I add to allow Renew License working?

I have this rule at the end of the list:

/ip firewall filter add action=drop chain=input comment="Drop everything"

Unless I disable this rule, the Renew license doesn’t work:
Screenshot_670.png

Hi,

/ip firewall address-list add list="License_Mikrotik" address=license.mikrotik.com

/ip firewall filter add action=accept src-address-list=License_Mikrotik chain=input

Move that rule, before the last one (drop all).

Regards,

Thank you for fast response. I have tried your rule, but still have the same error. I have even added mikrotik.com and upragde.mikrotik.com, but it doesn’t help.
Screenshot_672.png
Screenshot_673.png
EDIT: Now it suddenly began to work. Maybe this is related to DNS. Should I also allow input for UDP 53?

I had to add this rule for DNS (Google):

/ip firewall filter add action=accept src-address=8.8.8.8 chain=input

Then it works with:

/ip firewall address-list add list="License_Mikrotik" address=license.mikrotik.com

/ip firewall filter add action=accept src-address-list=License_Mikrotik chain=input