--- In [email protected], "senty_dil" <arpittol...@...>
wrote:
>
> This is how my named.conf looks like
<truncated>
-------------------
> view "internal"
> {
> /* This view will contain zones you want to serve only to "internal"
clients
> that connect via your directly attached LAN interfaces -
"localnets" .
> */
> match-clients { localnets; };
> match-destinations { localnets; };
> recursion yes;
-------------------
Here you seem to have defined views in named. matching client localnets.
Where is localnets defined?
-------------------
> zone "lnmiit.ac.in" {
> type master;
> allow-query { any; };
> file "server.zone";
> };
Here I suggest you to practice naming zone files with domain names. As
of now you have just one domain, but with many domains you will find it
difficult to manage. So, ideally zone file should be lnmiit.ac.in.zone
instead of server.zone.
-------------------
-------------------
> i am not able to dig my servers. error comes while dig
>
> dig www.lnmiit.ac.in
>
> ; <<>> DiG 9.3.3rc2 <<>> www.lnmiit.ac.in
> ;; global options: printcmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 34447
> ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
>
> ;; QUESTION SECTION:
> ;www.lnmiit.ac.in. IN A
>
> ;; Query time: 16 msec
> ;; SERVER: 127.0.0.1#53(127.0.0.1)
> ;; WHEN: Wed Aug 12 21:16:09 2009
> ;; MSG SIZE rcvd: 34
>
>
> Can someone help me with it where i am wrong and why there is SERVFAIL
in the answers..
>
-------------------
What does the log say about the query ?
tail /var/log/messages in another shell and see what entries appear
while querying.
I think the issue may be with VIEW statement. Just a wild guess! But do
check out the logs for help.
If you are using Bind 9.5, then there will be various log files and even
config files are split.
regards,
~ doors
[Non-text portions of this message have been removed]