RE: proving a server doesn't have a zone

2009-06-01 Thread Todd Snyder
@lists.isc.org Subject: Re: proving a server doesn't have a zone -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01-Jun-2009, at 15:42, Todd Snyder wrote: > I'm sure I'm just having a dumb moment, and that the return codes from > dig can give me what I need, but I can

Re: proving a server doesn't have a zone

2009-06-01 Thread Matthew Pounsett
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01-Jun-2009, at 15:42, Todd Snyder wrote: I'm sure I'm just having a dumb moment, and that the return codes from dig can give me what I need, but I can't figure it out. Indeed, dig can help you here. Send the server a non-recursive query fo

Re: proving a server doesn't have a zone

2009-06-01 Thread Andy Shellam
Hi Todd, You can easily check this by checking for the "AA" flag in dig's output. An authoritative domain: .. ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 2, ADDITIONAL: 2 .. A non-authoritative (or cached) domain: .. ;; flags: qr rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 7,