knot: remove old code

Change-Id: Ib6cd9693be87c53f9f1be0f54ef05164f217f2c0
nameserver: fix BSD compile warning (const discarding)

Change-Id: If6f8c2055c329164ae25ea2ab3ec33a72e94c8c9