Search Again:

Re: Testing secondary is confusing me

From: Len Conrad
Date: Friday, February 6, 2004
Time: 5:12:21 am


>Hello, trying to make sure a secondary is doing as it is supposed to, I use
>this:
>
>dig @ns1.pbi.net micromat.com SOA +norecurse
>Pertinant line I care about is:
>;; flags: qr aa; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
>
>I think I am just looking for the aa part

the aa flag says the server has a copy of the zone data. you have to check
the serial number on the master to see if the master + slave are in sync.

>Problem is, I think this slave is doing its job now, however, the grep is
>reporting falsely and giving me no response.

# dig @dns2.intermag.com newgeo.com soa +norec | egrep -i "^;; flags:.* aa"
;; flags: qr aa ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 3

Len




Messages In This Thread:



Return to Digital Point Solutions' Home Page