nanog mailing list archives
Re: Detecting a non-existent domain
From: Jack Bates <jbates () brightok net>
Date: Tue, 23 Sep 2003 16:37:57 -0500
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 addresses or TLDs--this needs to work reliably no matter what the domain. User gives me a string, and I need to see if the given host is a real machine.
A set comparison between the domain your interested in and *.TLD will inform you if the domain is pointed to the same IP addresses as the wildcard. In many cases, this is sufficient and can be made to work dynamically and quickly with most software and scripts.
-Jack
Current thread:
- Detecting a non-existent domain Kee Hinckley (Sep 23)
- Re: Detecting a non-existent domain Dominic J. Eidson (Sep 23)
- RE: Detecting a non-existent domain David Schwartz (Sep 23)
- RE: Detecting a non-existent domain Kee Hinckley (Sep 23)
- RE: Detecting a non-existent domain David Schwartz (Sep 23)
- RE: Detecting a non-existent domain David Schwartz (Sep 23)
- Re: Detecting a non-existent domain Daniel Roesen (Sep 23)
- Re: Detecting a non-existent domain Dominic J. Eidson (Sep 23)
- Re: Detecting a non-existent domain Jack Bates (Sep 23)
- RE: Detecting a non-existent domain David Schwartz (Sep 23)
- Re: Detecting a non-existent domain Daniel Roesen (Sep 23)
- Re: Detecting a non-existent domain Joe Abley (Sep 23)
- RE: Detecting a non-existent domain Kee Hinckley (Sep 23)
- RE: Detecting a non-existent domain David Schwartz (Sep 23)
- Message not available
- Re: Detecting a non-existent domain Kee Hinckley (Sep 24)
- RE: Detecting a non-existent domain alex (Sep 26)