kdig: add +rec and +edns support

refs #2137

Change-Id: Ic013dae9eeea6dd601e7c0cdf2e2ab1a42addd4a