Hi,

For various reasons I need to write a Go wrapper around knotc conf.

The problem is I am seeing weird behaviour (the below is stdout from my Go 
script):

########
Command being run: /usr/sbin/knotc conf-begin
OK
Command being run: /usr/sbin/knotc conf-set 'server.version' '299'error: 
(invalid item) 'server.version' = '299'
Command being run: /usr/sbin/knotc conf-abortOK
########

If I take the "usr/sbin/knotc conf-set 'server.version' '299'" string generated 
by Go and paste it onto CLI, it returns OK ?

I have tried adding "-v" flag but that does not produce any interesting output.

Any idea where I might be going wrong here ? Why am I getting "error: (invalid 
item)" when Go executes the command, but not when I run it manually ?

Thanks !
-- 
https://lists.nic.cz/mailman/listinfo/knot-dns-users

Reply via email to