Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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 pondering the Monastery: (6)
As of 2015-07-07 06:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (87 votes), past polls