On 17/09/2014 13:57, Mark Andrews wrote:
Hi Mark,
> awk '$5 == "status:" { rcode = $6 } $3 == "SOA" { print $1, rcode }'
So with "+noall +comments +question" and this bit of awk, I can get a
pretty list containing ";zone RCODE," pairs :)
Thanks!
Anand
__
awk '$5 == "status:" { rcode = $6 } $3 == "SOA" { print $1, rcode }'
In message <54197448.1000...@ripe.net>, Anand Buddhdev writes:
> Hello people,
>
> I've been trying to figure out how to use dig in a shell script to send
> a bunch of queries, and then parse the output with awk. I have a file
Hello people,
I've been trying to figure out how to use dig in a shell script to send
a bunch of queries, and then parse the output with awk. I have a file
called "myzones" containing the zones I want to query:
example.com
example.org
example.net
If I run:
dig @server -t soa +norec +noall +ques
On 16-09-14 18:20, King, Harold Clyde (Hal) wrote:
> Resolve all traffic for example.com from example.com¹s dns servers, but
> stop badhost.example.com.
Ideally you would use RPZ records for this purpose. You can override
single records with another record. RPZ is only available in bind 9.8+.
An ex
4 matches
Mail list logo