- Timestamp:
- 01/30/26 13:15:47 (2 days ago)
- File:
-
- 1 edited
-
branches/cname-collision/t/DNSTest.pm (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/cname-collision/t/DNSTest.pm
r999 r1011 5 5 ## 6 6 # $Id$ 7 # Copyright 2025 Kris Deugau <kdeugau@deepnet.cx>7 # Copyright 2025,2026 Kris Deugau <kdeugau@deepnet.cx> 8 8 # 9 9 # This program is free software: you can redistribute it and/or modify … … 64 64 65 65 my ($dcount) = $dbh->selectrow_array("SELECT count(*) FROM domains WHERE NOT domain IN ". 66 "('example.com','example.net','example.org','expiry1.test','expiry2.test' )");66 "('example.com','example.net','example.org','expiry1.test','expiry2.test','expiry3.test')"); 67 67 BAIL_OUT("# DB looks like it may not be a test DB, found $dcount > 0 non-test domains!\n") 68 68 if $dcount > 0; … … 71 71 my ($rcount) = $dbh->selectrow_array(qq{SELECT count(*) FROM records WHERE NOT ( 72 72 host like '%example.com' or host like '%example.net' or host like '%example.org' or 73 host like '%expiry 1.test' or host like '%expiry2.test' or inetlazy(val) << '192.168.2.0/27'73 host like '%expiry_.test' or inetlazy(val) << '192.168.2.0/27' 74 74 )}); 75 75 my $maxrecs = 0;
Note:
See TracChangeset
for help on using the changeset viewer.
![[ DNS Administrator ]](/fx/dnsadmin-logo.png)