Hi Mark,<br><br>Thank You for quick clarify. I have included trailing dot and restart bind.<br>Now when i queired for domain "<a href="http://www.joshfeb1.com">www.joshfeb1.com</a>" with type A, I am getting NOERROR and NOANSWER.<br>
<br>[root@ zones]# dig  <a href="http://www.joshfeb1.com">www.joshfeb1.com</a>. A<br><br>; <<>> DiG 9.6.1-P3 <<>>  <a href="http://www.joshfeb1.com">www.joshfeb1.com</a>. A<br>; (1 server found)<br>
;; global options: +cmd<br>;; Got answer:<br>;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 40667<br>;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0<br>;; WARNING: recursion requested but not available<br>
<br>;; QUESTION SECTION:<br>;<a href="http://www.joshfeb1.com">www.joshfeb1.com</a>.              IN      A<br><br>;; AUTHORITY SECTION:<br><a href="http://joshfeb1.com">joshfeb1.com</a>.           86400   IN      SOA     <a href="http://udns1.ultradns.net">udns1.ultradns.net</a>. <a href="http://rboddeti.infinite.com">rboddeti.infinite.com</a>. 2011013101 10800 3600 2592000 86400<br>
<br>;; Query time: 2 msec<br>;; SERVER: 10.31.145.194#53(10.31.145.194)<br>;; WHEN: Tue Feb  1 04:13:00 2011<br>;; MSG SIZE  rcvd: 106<br><br>[root@zones]#<br><br>Is it correct. Actually <a href="http://www.joshfeb1.com">www.joshfeb1.com</a> is not exist and it should look into *.<a href="http://joshfeb1.com">joshfeb1.com</a> right. Could you please clarify why it is not returning answer.<br>
<br>Thanks & Regards,<br>Ramesh<br><br><br><div class="gmail_quote">On Tue, Feb 1, 2011 at 9:41 AM, Mark Andrews <span dir="ltr"><<a href="mailto:marka@isc.org">marka@isc.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
In message <AANLkTi=<a href="mailto:MmS6agHgUQyt1PMLLYQfz2zP0Su6YQwQmX4e-@mail.gmail.com">MmS6agHgUQyt1PMLLYQfz2zP0Su6YQwQmX4e-@mail.gmail.com</a>>, rams w<br>
rites:<br>
<div><div></div><div class="h5">> Hi,<br>
> I have zone as follows in bind.<br>
><br>
> $ORIGIN <a href="http://joshfeb1.com" target="_blank">joshfeb1.com</a>.<br>
> @ IN SOA <a href="http://rboddeti.yahoo.com" target="_blank">rboddeti.yahoo.com</a>. <a href="http://rboddeti.gmail.com" target="_blank">rboddeti.gmail.com</a>. (<br>
>                                 2011013101 ; serial<br>
>                                 10800 ; refresh<br>
>                                 3600 ; retry<br>
>                                 2592000 ; expire<br>
>                                 86400 ; minimum<br>
>                                 )<br>
> <a href="http://joshfeb1.com" target="_blank">joshfeb1.com</a>. NS <a href="http://udns1.ultradns.net" target="_blank">udns1.ultradns.net</a>.<br>
> <a href="http://joshfeb1.com" target="_blank">joshfeb1.com</a>. NS <a href="http://udns2.ultradns.net" target="_blank">udns2.ultradns.net</a>.<br>
> **.<a href="http://joshfeb1.com" target="_blank">joshfeb1.com</a> A 1.1.1.1<br>
> *.<a href="http://www.joshfeb1.com" target="_blank">www.joshfeb1.com</a> A 2.2.2.2*<br>
><br>
> When I queried domain "<a href="http://www.joshfeb1.com" target="_blank">www.joshfeb1.com</a>. A" against Bind, I am getting<br>
> NXDOMAIN.When can i get records in response. Could you please clarify me.<br>
><br>
> The following response return.<br>
><br>
> *[root@zones]# dig  <a href="http://abc.www.joshfeb1.com" target="_blank">abc.www.joshfeb1.com</a>. A*<br>
><br>
> ; <<>> DiG 9.6.1-P3 <<>>  <a href="http://abc.www.joshfeb1.com" target="_blank">abc.www.joshfeb1.com</a>. A<br>
> ; (1 server found)<br>
> ;; global options: +cmd<br>
> ;; Got answer:<br>
> ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 24113<br>
> ;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0<br>
> ;; WARNING: recursion requested but not available<br>
><br>
> ;; QUESTION SECTION:<br>
> ;<a href="http://abc.www.joshfeb1.com" target="_blank">abc.www.joshfeb1.com</a>.          IN      A<br>
><br>
> ;; AUTHORITY SECTION:<br>
> <a href="http://joshfeb1.com" target="_blank">joshfeb1.com</a>.           86400   IN      SOA     <a href="http://udns1.ultradns.net" target="_blank">udns1.ultradns.net</a>.<br>
> <a href="http://rboddeti.infinite.com" target="_blank">rboddeti.infinite.com</a>. 2011013101 10800 3600 2592000 86400<br>
><br>
> ;; Query time: 2 msec<br>
> ;; SERVER: 10.31.145.194#53(10.31.145.194)<br>
> ;; WHEN: Tue Feb  1 03:36:56 2011<br>
> ;; MSG SIZE  rcvd: 110<br>
><br>
> *[root@ zones]# dig  <a href="http://abc.joshfeb1.com" target="_blank">abc.joshfeb1.com</a>. A*<br>
><br>
> ; <<>> DiG 9.6.1-P3 <<>>  <a href="http://abc.joshfeb1.com" target="_blank">abc.joshfeb1.com</a>. A<br>
> ; (1 server found)<br>
> ;; global options: +cmd<br>
> ;; Got answer:<br>
> ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 26354<br>
> ;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0<br>
> ;; WARNING: recursion requested but not available<br>
><br>
> ;; QUESTION SECTION:<br>
> ;<a href="http://abc.joshfeb1.com" target="_blank">abc.joshfeb1.com</a>.              IN      A<br>
><br>
> ;; AUTHORITY SECTION:<br>
> <a href="http://joshfeb1.com" target="_blank">joshfeb1.com</a>.           86400   IN      SOA     <a href="http://udns1.ultradns.net" target="_blank">udns1.ultradns.net</a>.<br>
> <a href="http://rboddeti.infinite.com" target="_blank">rboddeti.infinite.com</a>. 2011013101 10800 3600 2592000 86400<br>
><br>
> ;; Query time: 2 msec<br>
> ;; SERVER: 10.31.145.194#53(10.31.145.194)<br>
> ;; WHEN: Tue Feb  1 03:37:05 2011<br>
> ;; MSG SIZE  rcvd: 106<br>
><br>
> *[root@ zones]# dig  <a href="http://www.joshfeb1.com" target="_blank">www.joshfeb1.com</a>. A*<br>
><br>
> ; <<>> DiG 9.6.1-P3 <<>>  <a href="http://www.joshfeb1.com" target="_blank">www.joshfeb1.com</a>. A<br>
> ; (1 server found)<br>
> ;; global options: +cmd<br>
> ;; Got answer:<br>
> ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 19448<br>
> ;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0<br>
> ;; WARNING: recursion requested but not available<br>
><br>
> ;; QUESTION SECTION:<br>
> ;<a href="http://www.joshfeb1.com" target="_blank">www.joshfeb1.com</a>.              IN      A<br>
><br>
> ;; AUTHORITY SECTION:<br>
> <a href="http://joshfeb1.com" target="_blank">joshfeb1.com</a>.           86400   IN      SOA     <a href="http://udns1.ultradns.net" target="_blank">udns1.ultradns.net</a>.<br>
> <a href="http://rboddeti.infinite.com" target="_blank">rboddeti.infinite.com</a>. 2011013101 10800 3600 2592000 86400<br>
><br>
> ;; Query time: 2 msec<br>
> ;; SERVER: 10.31.145.194#53(10.31.145.194)<br>
> ;; WHEN: Tue Feb  1 03:37:15 2011<br>
> ;; MSG SIZE  rcvd: 106<br>
><br>
> [root@stulcqacustbind2 zones]#<br>
><br>
><br>
> What bind is returning is correct?<br>
<br>
</div></div>Yes.  You have a mixture of relative (no period at end) and absolute names<br>
(period at end) in the zone file above.  What you added to the zone<br>
was "<a href="http://www.joshfeb1.com.joshfeb1.com" target="_blank">www.joshfeb1.com.joshfeb1.com</a>." not "<a href="http://www.joshfeb1.com" target="_blank">www.joshfeb1.com</a>.".  You needed<br>
a period at the end of "com" or to just use "www".<br>
<br>
Mark<br>
<br>
> Thanks & Regards,<br>
> Ramesh<br>
<font color="#888888">--<br>
Mark Andrews, ISC<br>
1 Seymour St., Dundas Valley, NSW 2117, Australia<br>
PHONE: +61 2 9871 4742                 INTERNET: <a href="mailto:marka@isc.org">marka@isc.org</a><br>
</font></blockquote></div><br>