RE: Detecting a non-existent domain

2003-09-26 Thread alex
> The answer so far seems to be to query *.TLD, nab all the records, > and then compare them all the results you get back from querying the > domain. If there is anything that doesn't match, you are in the > clear. (Modulo internal networks and localhost and all those fun > tricks of course-

Re: Detecting a non-existent domain

2003-09-24 Thread Kee Hinckley
At 10:24 AM -0400 9/24/03, John A. Martin wrote: >>>>> "Kee" == Kee Hinckley "RE: Detecting a non-existent domain" Tue, 23 Sep 2003 20:16:04 -0400 Kee> At 3:15 PM -0700 9/23/03, David Schwartz wrote: >> How would you do this before? Does a

RE: Detecting a non-existent domain

2003-09-23 Thread David Schwartz
> At 3:15 PM -0700 9/23/03, David Schwartz wrote: > > How would you do this before? Does an A record for a hostname > >mean that a > >host with that name exists? If so, then all *.com 'hosts' now 'exist'. If > >not, what did you mean by exist before? > Okay, let's be very specific. I need t

RE: Detecting a non-existent domain

2003-09-23 Thread Kee Hinckley
At 3:15 PM -0700 9/23/03, David Schwartz wrote: How would you do this before? Does an A record for a hostname mean that a host with that name exists? If so, then all *.com 'hosts' now 'exist'. If not, what did you mean by exist before? Okay, let's be very specific. I need to know if a given name

RE: Detecting a non-existent domain

2003-09-23 Thread David Schwartz
Lee Hinckley wrote: > At 2:46 PM -0700 9/23/03, David Schwartz wrote: > > He asked for the "optimal way" "to see if a given host truly > >exists" and > >you told him how to confirm or deny the "existance of a domain". He asked > >about hosts, you answered about domains. > In fairness I was

RE: Detecting a non-existent domain

2003-09-23 Thread Kee Hinckley
At 2:46 PM -0700 9/23/03, David Schwartz wrote: He asked for the "optimal way" "to see if a given host truly exists" and you told him how to confirm or deny the "existance of a domain". He asked about hosts, you answered about domains. In fairness I was ambiguous. Although Verisign ought to be

Re: Detecting a non-existent domain

2003-09-23 Thread Joe Abley
On Tuesday, Sep 23, 2003, at 18:15 Canada/Eastern, David Schwartz wrote: As for 'fsck.de', a good argument can be made that this is not really a legal domain. It's a host. Checking for an SOA is a good way to tell if a domain is valid, depending upon what you mean by 'domain' and 'valid'. Are

Re: Detecting a non-existent domain

2003-09-23 Thread Daniel Roesen
On Tue, Sep 23, 2003 at 03:15:06PM -0700, David Schwartz wrote: > As for 'fsck.de', a good argument can be made that this is not really a > legal domain. It's a perfectly valid domain registered with DE-NIC. DE-NIC offers two types of domains: delegated and so-called "MX-only" domains, wher

RE: Detecting a non-existent domain

2003-09-23 Thread David Schwartz
> Getting practical for a minute. What is the optimal way now to see > if a given host truly exists? You first have to define what you mean by 'exists'. I have a machine here that I call 'stinky'. It's not on the Interent though. Does the 'host' 'stinky' exist? > Assume that I can't co

Re: Detecting a non-existent domain

2003-09-23 Thread Daniel Roesen
On Tue, Sep 23, 2003 at 04:24:32PM -0500, Dominic J. Eidson wrote: > Look for a SOA record for the domain - this should be the proper way to > check for the existance of a domain, No, because there doesn't _have_ to be a SOA RR for a 2nd level domain. For example, in the .de TLD, there are (many)

RE: Detecting a non-existent domain

2003-09-23 Thread David Schwartz
> On Tue, 23 Sep 2003, Kee Hinckley wrote: > > Getting practical for a minute. What is the optimal way now to see > > if a given host truly exists? Assume that I can't control the DNS > Look for a SOA record for the domain - this should be the proper way to > check for the existance of a doma

Re: Detecting a non-existent domain

2003-09-23 Thread Jack Bates
Kee Hinckley wrote: Getting practical for a minute. What is the optimal way now to see if a given host truly exists? Assume that I can't control the DNS server--I need to have this code run in any (*ix) environment. Assume also that I don't want to run around specialcasing specific IP address

Re: Detecting a non-existent domain

2003-09-23 Thread Dominic J. Eidson
On Tue, 23 Sep 2003, Kee Hinckley wrote: > Getting practical for a minute. What is the optimal way now to see > if a given host truly exists? Assume that I can't control the DNS Look for a SOA record for the domain - this should be the proper way to check for the existance of a domain, instead

Detecting a non-existent domain

2003-09-23 Thread Kee Hinckley
Getting practical for a minute. What is the optimal way now to see if a given host truly exists? Assume that I can't control the DNS server--I need to have this code run in any (*ix) environment. Assume also that I don't want to run around specialcasing specific IP addresses or TLDs--this nee