3.3.4.7 CheckIfDnsServerZoneHostedOnServer

The CheckIfDnsServerZoneHostedOnServer operation is used to check whether a DNS Zone is hosted on a specified DNS server.

 <wsdl:operation name="CheckIfDnsServerZoneHostedOnServer">
   <wsdl:input wsaw:Action="http://Microsoft.Windows.Ipam/IIpamServer/CheckIfDnsServerZoneHostedOnServer" message="ipam:IIpamServer_CheckIfDnsServerZoneHostedOnServer_InputMessage" />
   <wsdl:output wsaw:Action="http://Microsoft.Windows.Ipam/IIpamServer/CheckIfDnsServerZoneHostedOnServerResponse" message="ipam:IIpamServer_CheckIfDnsServerZoneHostedOnServer_OutputMessage" />
 </wsdl:operation>

Upon receiving the IIpamServer_CheckIfDnsServerZoneHostedOnServer_InputMessage request message, the server performs the following processing steps. Upon successful completion of the steps specified below, the server MUST respond with the IIpamServer_CheckIfDnsServerZoneHostedOnServer_OutputMessage message.In the event of a failure, an appropriate SOAP fault MUST be sent to the client as specified in section 2.2.2.1:

  1. If either of the following conditions is not satisfied, an appropriate SOAP fault MUST be generated:

    • CheckIfDnsServerZoneHostedOnServer.zoneId > 0

    • CheckIfDnsServerZoneHostedOnServer.dnsServerId > 0

  2. Look up ADM_DNSServerForwardLookupZoneTable for the row that has ServerRecordId equal to CheckIfDnsServerZoneHostedOnServer.dnsServerId and DnsZoneId equal to CheckIfDnsServerZoneHostedOnServer.zoneId.

  3. If a row exists set the value of CheckIfDnsServerZoneHostedOnServerResponse. CheckIfDnsServerZoneHostedOnServerResult to TRUE. Otherwise set it to FALSE.