klines are stored in memory, restarting the server will cause you to loose them all.
Yes it's the same with glines and other server side bans.
however, with glines, since they are network, the server will re-import them from a linked server if it's still live (I use this when i upgrade the two ...