Response Samples

Removing a single host to ACL

This request packet removes host 192.168.34.56 from the ACL.

<packet version="1.4.2.0">
<dns>
 <remove_from_acl>
  <filter>
   <host>192.168.34.56</host>
  </filter>
 </remove_from_acl>
</dns>
</packet>

 

The positive response from the server looks as follows:

<packet version="1.4.2.0">
<dns>
 <remove_from_acl>
  <result>
   <status>ok</status>
   <host>192.168.34.56</host>
  </result>
 </remove_from_acl>
</dns>
</packet>

 

A negative response from the server can look as follows:

<packet version="1.4.2.0">
<dns>
 <remove_from_acl>
  <result>
   <status>error</status>
   <errcode>1007</errcode>
   <errtext>IP address 192.168.34.56 does not exists.</errtext>
  </result>
 </remove_from_acl>
</dns>
</packet>

 

Removing a single host to ACL

This request packet adds host 192.168.34.56 to the ACL two times.

<packet version="1.4.2.0">
<dns>
 <remove_from_acl>
  <filter>
   <host>192.168.34.56</host>
  </filter>
 </remove_from_acl>

 <remove_from_acl>
  <filter>
   <host>192.168.34.56</host>
  </filter>
 </remove_from_acl>

</dns>
</packet>

 

A response from the server can look as follows:

<packet version="1.4.2.0">
<dns>
 <remove_from_acl>
  <result>
   <status>ok</status>
   <host>192.168.34.56</host>
  </result>
 </remove_from_acl>
 <remove_from_acl>
  <result>
   <status>error</status>
   <errcode>1007</errcode>
   <errtext>IP address 192.168.34.56 already exists.</errtext>
  </result>
 </remove_from_acl>
</dns>
</packet>