public static base_response add ( nitro_service client , dnszone resource ) throws Exception { dnszone addresource = new dnszone ( ) ; addresource . zonename = resource . zonename ; addresource . proxymode = resource . proxymode ; addresource . dnssecoffload = resource . dnssecoffload ; addresource . nsec = resource . nsec ; return addresource . add_resource ( client ) ; }
Use this API to add dnszone .