[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [sitefinder-tech-discuss Home]
Subject: Re: [sitefinder-tech-discuss] Pseudo code please
On Wednesday 22 October 2003 01:10 pm, Kee Hinckley wrote: > Given a hostname provided by a user (e.g. foo.example.com), how do I > determine that the result I get back when I lookup the A record > corresponds to something provided by example.com rather than > something generated by Verisign? I think that you are now asking a totally different question. However, this question has a good answer. You can generally tell what zone an answer is coming from by looking at the AUTHORITY second of the DNS response. You should generally see either a NS RRset (for "positive" responses) or an SOA (for "negative" responses). The name of the NS RRset or the SOA is the name of the zone that the answer is coming from. -- David Blacka <davidb@verisignlabs.com> Sr. Engineer Verisign Applied Research ---------------------------------------------------------------- To subscribe or unsubscribe from this elist use the subscription manager: <http://lists.elistx.com/unsubscribe>
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [sitefinder-tech-discuss Home]
Powered by eList eXpress LLC