DJI actually has some systems in place to prevent illegal flights. By default it only goes as high as the law permits and can't enter no-fly zones (as if there were a force field). Even in smaller airports, the app will alert you to fly with caution (for example, in class C airspace) You can override these limits, but, as far as I know, the event is somehow logged.