is this a case where you can add this deprecated name  dnsmasq dns server  and have the agent accept either and do the right thing  not sure if it works since you are changing the type here  then the code below for the old value could go away 