Changeset 516 for trunk/dns-rpc.cgi


Ignore:
Timestamp:
05/24/13 16:58:49 (11 years ago)
Author:
Kris Deugau
Message:

/trunk

Tune up location/view handling on zone add. See #10.

Domains and revzones added with a location specified will actually use
that location. Documentation note: Zones specifying a location on
creation will only be visible to that location, because the SOA record
will be created with that location. A zone should be created with no
location set if records must be visible across multiple locations, or
publicly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dns-rpc.cgi

    r515 r516  
    192192  _commoncheck(\%args, 'y');
    193193
    194   my ($code, $msg) = $dnsdb->addDomain($args{domain}, $args{group}, $args{state});
     194  my ($code, $msg) = $dnsdb->addDomain($args{domain}, $args{group}, $args{state}, $args{location});
    195195  die "$msg\n" if $code eq 'FAIL';
    196196  return $msg;  # domain ID
Note: See TracChangeset for help on using the changeset viewer.