Changeset 578


Ignore:
Timestamp:
01/02/14 10:07:39 (10 years ago)
Author:
Kris Deugau
Message:

/trunk

Fix the fix in r576, retrieve the *right* SOA for each domain

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DNSDB.pm

    r577 r578  
    51515151
    51525152  $soasth = $dbh->prepare("SELECT host,type,val,distance,weight,port,ttl,record_id,location ".
    5153         "FROM records WHERE rdns_id=? AND type=6");
     5153        "FROM records WHERE domain_id=? AND type=6");
    51545154  $recsth = $dbh->prepare("SELECT host,type,val,distance,weight,port,ttl,record_id,location,extract(epoch from stamp),expires,stampactive ".
    51555155        "FROM records WHERE domain_id=? AND NOT type=6");       # Just exclude all types relating to rDNS
Note: See TracChangeset for help on using the changeset viewer.