Added optional feature: per-record-type port checks