TWSD-305 Option to enable or disable "CLI: nat protocol dns" on Static NAT

Review Request #1080 — Created Oct. 3, 2025 and submitted — Latest diff uploaded

timlai
APV10
rel_apv_10_7
TWSD-305
kevin.poh, mingji, peteryeh, weikai

Root Cause:
Not support "priority" on DNS NAT method

Solution:
Implement "priority" on DNS NAT method
1. Add "nat protocol dns <priortiy>" CLI command
2. Add "nat dnspri <vip> <priority>" CLI command to set priority of static NAT entry

  1. Setup llb and nat dns environment
  2. Set nat dns protocol to priority
  3. Set priority to every static NAT entry
  4. Check whether the answers in the DNS response have been rewritten according to the configured priority
    Loading...