Validate -nameservers and -addr flags