于 2012-10-15 15:38, Cathy Almond 写道:
On 15/10/12 05:23, pangj wrote:
Hello,

I have setup a wild record for cloudns.tk, the record:

*.cloudns.tk.  300     IN      A       209.141.54.207

And I added another A record as this:

s1.test.cloudns.tk.     300     IN      A       8.8.8.8

After adding this record, the record of test.cloudns.tk gets lost, it
does't match the wild record anymore.

"dig test.cloudns.tk" gets nothing.

Can you help explain it? thanks in advance.

It's subtle.

Wildcards match where there are no labels already.

By adding record s1.test.cloudns.tk, you're implicitly creating domain
test.cloudns.tk.  It's empty, but it exists.


But I didn't define a zone "test.cloudns.tk" (neither NS nor soa defined for it), why this domain exists?

Thanks Cathy.

_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

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

Reply via email to