Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Bind zone file search

by Kenosis (Priest)
on Sep 26, 2012 at 04:09 UTC ( #995693=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    Kg
        return %hash;
    }
    
  2. or download this
    zone "zone.com" {
        type slave;
    ...
            ip.perlmonks.ress.here 
                };
    };
    
  3. or download this
    cnn.com -> cnn.add.ress.here
    perlmonks.org -> ip.perlmonks.ress.here
    zone.com -> ip.add.ress.here
    
  4. or download this
    /zone\s+"([^"]+)".+masters\s+{\s*([^}\s]+)\s*}/s
          ^ ^   ^   ^          ^   ^     ^     ^   ^
    ...
          | |   + - Match anything that's not a "
          | + - Begin quotation
          + - 1+ whitespaces
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://995693]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (8)
As of 2014-11-25 01:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (148 votes), past polls