add missing single-quotes, change doubles to singles where appropriate.
use updated DnsManager interface