Protect service with statefull, stateless

how to protect service dns with filtering tables (statefull, stateless)?

iptables -L
iptables ...?

Special homework rules apply here, Homework & Coursework Questions Students must use and complete the template provided, Thread closed