about the wild record

Cathy Almond cathya at isc.org
Mon Oct 15 07:38:46 UTC 2012


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.

Cathy





More information about the bind-users mailing list