Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jul 2000 15:31:31 -0700 (PDT)
From:      David Daugherty <doc@wcug.wwu.edu>
To:        questions@freebsd.org
Subject:   nslookup has issues
Message-ID:  <Pine.LNX.3.96.1000720152228.5269A-100000@sloth>

next in thread | raw e-mail | index | archive | help
I recently set up DNS on my router/firewall and nslookup run from the DNS
looks like:
Got root?># nslookup yahoo.com
Server:  localhost.ovaloffice.dhs.org
Address:  127.0.0.1

Non-authoritative answer:
Name:    yahoo.com
Addresses:  204.71.200.243, 204.71.200.245

If I run nslookup from an NT box behind the DNS/router/firewall I get:
c:\>nslookup yahoo.com
*** Can't find server name for address 192.168.1.1: Non-existent domain
*** Default servers are not available
Server:  UnKnown
Address:  192.168.1.1

Non-authoritative answer:
Name:	yahoo.com
Addresses:  204.71.200.245, 204.71.200.243

my named.conf looks like:
options {
        directory "/etc/namedb";

        forwarders {
                24.0.224.33;
                24.0.224.34;
        };
};
zone "." {
        type hint;
        file "named.root";
};
                
zone "ovaloffice.dhs.org"{  
        type master;
        file "db.ovaloffice";
};
         
zone "0.0.127.IN-ADDR.ARPA" {
        type master;
        file "localhost.rev";
};

and db.ovaloffice looks like:
@  IN SOA truman.ovaloffice.dhs.org. davidd.ovaloffice.dhs.org. (
   1;
   10800;
   3600;
   604800;
   86400 );

       IN NS   truman.ovaloffice.dhs.org.
truman IN A    192.168.1.1


mail   IN A 192.168.1.1
www    IN A 192.168.1.1
news   IN A 192.168.1.1

localhost    IN A    127.0.0.1

reagan IN A  192.168.1.88

I'm sure I just have a name wrong somewhere in one of these files. What
have I munged up so that it can't resolve the name of the DNS? Probably
trivial since it still works ;)


David
Software Engineer - NetManage
Work email: david.daugherty@netmanage.com
Home email: doc@wcug.wwu.edu
ICQ 21106703
Washington State Resident




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.3.96.1000720152228.5269A-100000>