public static dnsmxrec get ( nitro_service service , String domain ) throws Exception { dnsmxrec obj = new dnsmxrec ( ) ; obj . set_domain ( domain ) ; dnsmxrec response = ( dnsmxrec ) obj . get_resource ( service ) ; return response ; }
Use this API to fetch dnsmxrec resource of given name .