[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


To: dnsop@cafax.se
From: bert hubert <ahu@ds9a.nl>
Date: Thu, 10 May 2001 10:30:03 +0200
In-Reply-To: <Pine.BSF.4.21.0105100927150.43413-100000@julubu.staff.apnic.net>; from bruce.campbell@apnic.net on Thu, May 10, 2001 at 09:50:26AM +1000
Mail-Followup-To: dnsop@cafax.se
Sender: owner-dnsop@cafax.se
Subject: Re: Should a nameserver know about itself?

On Thu, May 10, 2001 at 09:50:26AM +1000, Bruce Campbell wrote:

> Right.  Now that we've gotten that out of the way, can anyone suggest a
> *reliable* test for verifying that a nameserver is responding ( which is
> seperate from verifying that a nameserver is authoritatively serving a
> given zone )

You could send a query for the SOA of the domain, and see if it answers with
the AA flag set:

$ dig ds9a.nl soa @outpost.ds9a.nl

or to check automatically :

$ dig ds9a.nl soa @outpost.ds9a.nl | grep "^\;\; flags" | grep -q " aa "

Another check would be to ask for something in that domain that doesn't
exist, and see if you get an authoritative NXDOMAIN back.

Regards,

bert hubert

-- 
http://www.PowerDNS.com      Versatile DNS Services  
Trilab                       The Technology People   
'SYN! .. SYN|ACK! .. ACK!' - the mating call of the internet

Home | Date list | Subject list