Clarification on wildcard scenario

Mark Andrews marka at isc.org
Tue Feb 1 05:28:59 UTC 2011


In message <AANLkTin+PmzXYUVbCVX3D=Mh1S75ddpMwhjuE9r5zk2=@mail.gmail.com>, rams w
rites:
> Hi,
> I have zone as follows in bind.
> 
> $ORIGIN joshfeb1.com.
> @ IN SOA rboddeti.yahoo.com. rboddeti.gmail.com. (
> 
>   2011013101 ; serial
>                                 10800 ; refresh
>                                 3600 ; retry
>                                 2592000 ; expire
>                                 86400 ; minimum
>                                 )
> joshfeb1.com. NS udns1.ultradns.net.
> joshfeb1.com. NS udns2.ultradns.net.
> **.joshfeb1.com. A 1.1.1.1
> *.www.joshfeb1.com. <http://www.joshfeb1.com/> A 2.2.2.2*

It gets very hard when your email client adds to the plain text
version.  We really don't need extra * and <http://www.joshfeb1.com/>
added.

You want the records to be like this:

	*.joshfeb1.com. A 1.1.1.1
	www.joshfeb1.com. A 2.2.2.2

You has a wildcard before the www creating a empty node in the tree.
 
> When I queried domain "www.joshfeb1.com. A" against Bind, I am getting
> NOERROR and NOANSWER.When can i get answer. Could you please clarify me.
> 
> I able to get answer with abc.joshfeb1.com and abc.www.joshfeb1.com. Why
> bind is not returning answer for www.joshfeb1.com, it should map to **.
> joshfeb1.com. right?
> 
> Thanks & Regards,
> Ramesh
> *
> Thanks & Regards,
> Ramesh
> 
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: marka at isc.org



More information about the bind-users mailing list