For a 2-D free electron gas you will get a constant DOS. The electrons in a real material are never completely free and the DOS of a 2-d system only approximately constant. Often the electrons are covalently bound, and in this case the DOS may have other shapes.
Also note that it is important that you have many k-points in the DOS