dns_*_get

Discussion in 'Developers' Forum' started by electronico_nc, Oct 9, 2014.

  1. Hi all,

    Starting to test Remote API.

    I don't understand the differences between :
    Code:
    dns_alias_get($session_id, $primary_id);
    dns_cname_get($session_id, $primary_id);
    dns_a_get($session_id, $primary_id);
    
    dns_*_get($session_id, $primary_id);
    They all return the same results, whatever 'type' is set to A CNAME ALIAS in database.
    Why so many different functions to do the same thing ?

    Nicolas
     
  2. Ooops, sorry ! Been to quick to post.
    Code:
    dns_cname_get($session_id, array('type' => 'CNAME');
    Is OK.
    Nicolas
     

Share This Page