dns issue

I did configure dns server and trying to test reverse lookup. seems to be some issue.
can some one assist with this.

Here is my config

[root@dns named]# cat /etc/named.conf
// named.conf
// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS
// server as a caching only nameserver (as a localhost DNS resolver only).
// See /usr/share/doc/bind*/sample/ for example named configuration files.

options {
        #listen-on port 53 {; };
        listen-on-v6 { none;  };
        directory       "/var/named";
        dump-file       "/var/named/data/cache_dump.db";
        statistics-file "/var/named/data/named_stats.txt";
        memstatistics-file "/var/named/data/named_mem_stats.txt";
        allow-query     { localhost;; };
        allow-transfer     { localhost;; };
        recursion yes;

        dnssec-enable yes;
        dnssec-validation yes;
        dnssec-lookaside auto;

        /* Path to ISC DLV key */
        bindkeys-file "/etc/named.iscdlv.key";
        managed-keys-directory "/var/named/dynamic";

logging {
        channel default_debug {
                file "data/named.run";
                severity dynamic;

view "internal" {
     match-clients {

     zone "." IN {
        type hint;
        file "named.ca";

     zone "example.com" IN {
        type master;
        file "example.com.lan";
        allow-update { none; };

     zone "1.168.192.in-addr.arpa" IN {
         type master;
         file "1.168.192.db";
         allow-update { none; };
include "/etc/named.rfc1912.zones";
include "/etc/named.root.key";

[root@dns named]# cat /var/named/1.168.192.db
$TTL 86400
@   IN  SOA     dns.example.com. root.example.com. (
        2014080201  ;Serial
        3600        ;Refresh
        1800        ;Retry
        604800      ;Expire
        86400       ;Minimum TTL

        IN  NS      dns.example.com.

        IN  PTR     example.com.
        IN  A

120      IN  PTR     dns.example.com.
130      IN  PTR     test.example.com.


Here is the test

[root@dns named]# dig dns.example.com

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.23.rc1.el6_5.1 <<>> dns.example.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 48033
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0

;dns.example.com.               IN      A

dns.example.com.        86400   IN      A

example.com.            86400   IN      NS      dns.example.com.

;; Query time: 0 msec
;; WHEN: Thu Oct 16 08:00:32 2014
;; MSG SIZE  rcvd: 63

[root@dns named]# dig

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.23.rc1.el6_5.1 <<>>
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 40105
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;                 IN      A

.                       9789    IN      SOA     a.root-servers.net. nstld.verisign-grs.com. 2014101600 1800 900 604800 86400

;; Query time: 0 msec
;; WHEN: Thu Oct 16 08:00:38 2014
;; MSG SIZE  rcvd: 106

what could be the issue with reverse lookup config?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

@        IN  NS      dns.example.com.

@        IN  PTR     example.com.
@        IN  A

Put "@" and see the results.

This comment can sounds stupid but did you set ur dns server on the resolve.conf ?


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
linuxpersonAuthor Commented:
I did setup dns server on the resolv.conf
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

linuxpersonAuthor Commented:
Put "@" and see the results. didn't help.
paste your zone file here again.

linuxpersonAuthor Commented:
the issue was there are comments on this file which DNS don't like it
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.