Learn How We Can Help You Keep Teleworkers Protected During the COVID-19 Crisis

Security

Reply
Highlighted

Web API: Create host with DNS-Record

Techie
Posts: 6
3255     0

Hi,

I tried it with record:host and this parameter  
{"ipv4addrs":[{{"configure_for_dhcp": false, "ipv4addr": "123.123.123.123"}}], "name": "hostname.domanin.com", "configure_for_dns": true}

but i got the error
{ "Error": "AdmConDataError: None (IBDataConflictError: IB.Data.Conflict:Host records cannot be added to the zone domain.com while Microsoft servers are configured for the zone.)",
  "code": "Client.Ibap.Data.Conflict",
  "text": "Host records cannot be added to the zone domain.com while Microsoft servers are configured for the zone."
}

Have someone an idee. how i can resolve it?

Thanks a lot

 

Highlighted

solved :-)

Techie
Posts: 6
3256     0

solved :-)
as first call record:host {"ipv4addrs":[{{"configure_for_dhcp": false, "ipv4addr": "123.123.123.123"}}], "name": "hostname.domanin.com", "configure_for_dns": true}
then call record:a {"name": "hostname.domanin.com", "ipv4addr": "123.123.123.123"}
 

Highlighted

sorry, this the right syntax

Techie
Posts: 6
3256     0

sorry, this the right syntax :-)
as first call record:host {"ipv4addrs":[{"configure_for_dhcp": false, "ipv4addr": "123.123.123.123"}], "name": "hostname.domanin.com", "configure_for_dns": false}
then call record:a {"name": "hostname.domanin.com", "ipv4addr": "123.123.123.123"}

Showing results for 
Search instead for 
Do you mean 

Recommended for You