No fly zone avoidance

Hi everyone, i’m using pixhawk cube orange for octacopter in INDIA with ADS-B. it is flying good but i don’t know how to avoid my drone entering no fly zone. ofcourse i can use fence but i want to know how to avoid arming (or) entering inside no fly zone by default cause it is prescribed to get certification for DRONE in INDIA. I will be greatful if i get rid of this issue

With a limited onboard storage it isn’t really possible to store all NFZ. IIRC Ardupilot supports MavLink Arm Authorization Protocol that lets you use external software communicating with GCS to authorize the takeoff.
If you fly in a fixed area you could use exclusion fences for NFZ and constrain area of operations with an inclusion fence though it will be trivially easy to bypass.

thank you @LupusTheCanine for your response. can you abbreviate IIRC autopilot

To prevent the drone from entering into NFZ area, you can increase the FENCE_MARGIN distance.

If I remember correctly.