Added index, fixed dns2 compiling