Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jul 2000 16:13:51 -0700
From:      "Raymundo M. Vega" <RaymundoVega@home.com>
To:        David Daugherty <doc@wcug.wwu.edu>
Cc:        questions@FreeBSD.ORG
Subject:   Re: nslookup has issues
Message-ID:  <397787AF.31FB68CD@home.com>
References:  <Pine.LNX.3.96.1000720152228.5269A-100000@sloth>

next in thread | previous in thread | raw e-mail | index | archive | help
David Daugherty wrote:
> 
> 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";
> };
> 

You need to resolve the 192.168.1.x, so you will need something like:

zone "1.168.192.IN-ADDR.ARPA" {
        type master;
        file "localnet.rev";
};


and localnet.rev has the IP to Name translation fore the internal
network address numbers

good luck

raymundo


> 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


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?397787AF.31FB68CD>