Re: dig for domain registration

2009-01-23 Thread Scott Haneda

On Jan 23, 2009, at 2:01 AM, Stephane Bortzmeyer wrote:


On Thu, Jan 22, 2009 at 01:16:00PM -0800,
Scott Haneda talkli...@newgeo.com wrote
a message of 18 lines which said:


If I do `dig NS example.com` and grep out my NS, does that suffice
for making sure my primary and secondary are listed?


It depends on the TLD policy. For .com, as far as I know, there is
no reservation: if a domain is registered, it is published in the DNS
so your test with dig is sound. For .fr, in March, we will start to
allow reservation (a domain will be registered without being
published in the DNS) so a similar test will not work.



Thanks.
I ended up with this script
dig example.com NS +trace @4.2.2.1 | grep -i ns1.example.com

If I get a result from dig, I am relatively certain the domain is  
registered with my NS in it.

--
Scott

___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: dig for domain registration

2009-01-22 Thread CB
oops..arent any

On Thu, Jan 22, 2009 at 4:24 PM, CB bdy...@gmail.com wrote:

 I believe there are any restrictions if you run a WHOIS from your dig
 prompt.

 [ch...@ks1dc ~]$ whois newgeo.com
 [Querying whois.internic.net]
 [Redirected to whois.wildwestdomains.com]
 [Querying whois.wildwestdomains.com]
 [whois.wildwestdomains.com]
 The data contained in this Registrar's Whois database,
 while believed by the registrar to be reliable, is provided as is
 with no guarantee or warranties regarding its accuracy. This information
 is provided for the sole purpose of assisting you in obtaining
 information about domain name registration records. Any use of
 this data for any other purpose is expressly forbidden without
 the prior written permission of this registrar.  By submitting an
 inquiry, you agree to these terms of usage and limitations of warranty.
 In particular, you agree not to use this data to allow, enable, or
 otherwise make possible, dissemination or collection of this data, in
 part or in its entirety, for any purpose, such as the transmission of
 unsolicited advertising and solicitations of any kind, including spam.
 You further agree not to use this data to enable high volume, automated
 or robotic electronic processes designed to collect or compile this data
 for any purpose, including mining this data for your own personal or
 commercial purposes.

 Please note: the owner of the domain name is specified in the registrant
 field.
 In most cases, the Registrar is not the owner of domain names listed in
 this database.


 Registrant:
Hostwizard.com
320 Silvio Lane
Novato, California 94949
United States

Registered through: Hostwizard.com
Domain Name: NEWGEO.COM
   Created on: 22-Feb-99
   Expires on: 22-Feb-10
   Last Updated on: 27-Nov-07

Administrative Contact:
   Haneda, Scott  sc...@newgeo.com
   320 Silvio Lane
   Novato, California 94949
   United States
   415-893-0374  Fax --

Technical Contact:
   Haneda, Scott  sc...@newgeo.com
   320 Silvio Lane
   Novato, California 94949
   United States
   415-893-0374  Fax --

Domain servers in listed order:
   NS1.NACIO.COM
   NS1.HOSTWIZARD.COM



 On Thu, Jan 22, 2009 at 4:16 PM, Scott Haneda talkli...@newgeo.comwrote:

 Hello, I want to do some spring cleaning on my dns.  WHOIS seems to
 throttle me back with too many checks, how can I use dig to check for
 registration of a domains?

 If I do `dig NS example.com` and grep out my NS, does that suffice for
 making sure my primary and secondary are listed?

 What about if I want to check if a domain is registered, regardless of
 NS's listed?  Just omit the specific grep and I would accomplish that?

 Thank you
 --
 Scott

 ___
 bind-users mailing list
 bind-users@lists.isc.org
 https://lists.isc.org/mailman/listinfo/bind-users




 --
 **
 Sometimes the appropriate response to reality is to go insane.

 Philip K. Dick (1928 - 1982), Valis

 The individual has always had to struggle to keep from being overwhelmed by
 the tribe. If you try it, you will be lonely often, and sometimes
 frightened. But no price is too high to pay for the privilege of owning
 yourself.

 Friedrich Nietzsche




-- 
**
Sometimes the appropriate response to reality is to go insane.

Philip K. Dick (1928 - 1982), Valis

The individual has always had to struggle to keep from being overwhelmed by
the tribe. If you try it, you will be lonely often, and sometimes
frightened. But no price is too high to pay for the privilege of owning
yourself.

Friedrich Nietzsche
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users