Changeset 463


Ignore:
Timestamp:
03/01/13 12:22:57 (12 years ago)
Author:
Kris Deugau
Message:

/trunk

Add another template expansion; '%blank%' will cause the template
record to not output any records. May be useful for eg a /30
where only the live IP should have a reverse entry.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DNSDB.pm

    r462 r463  
    49254925      next if $$recflags{$ip};
    49264926      $$recflags{$ip}++;
     4927      next if $hpat eq '%blank%';       # Allows blanking a subnet so no records are published.
    49274928      my $rec = $hpat;  # start fresh with the template for each IP
    49284929      _template4_expand(\$rec, $ip);
Note: See TracChangeset for help on using the changeset viewer.