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

Reply via email to