Quote:
|
With this code I can add a new soa registry but the client owner is null, it works with every client but not the one I want , which is '2'.(No error apears it just looks like if I were using Id = 0)
|
Maybe you mix up sys_userid and client_id here. The client that you use has to exist, so please check that there is really a client with ID 2 in the "client" database table.
Quote:
|
The second problem is to add the 'a' record I need to know the id of the soa registry, how can I get that?
|
You get the ID back when you add the zone:
$client->dns_zone_add(....)