60001 0 0 queue 10002 udp from any to any 53 out dscp af43 via re0 // wan: Q-UL-HighPriority
Enabled [x]Sequence 11Interface : WANInterface 2 noneProto: udpSource: anyInvert source [ ]Src-port: anyDestination: anyInvert destination [ ]Dst-port: 53DSCP: Expedited Forwarding <--- the "EF" flagDirection: outTarget: Q-UL-HighPriorityDescription: R-DNS-WANIF-to-WAN
EF bit has to be set by switch or server. Set via rule and match on shaper doesnt work
The setdscp option could be used to (re)mark user traffic, by adding the following to the appropriate place in ruleset:ipfw add setdscp be ip from any to any dscp af11,af21
Firewall rules are pf, not ipfw, sadly ...
on your client, mark dns packets with EF and on OPN do a match on EF with source/dst any.