[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: DNS problem, nslookup not working
- From: Kevin Colby <kevinc grainsystems com>
- To: redhat-install-list redhat com
- Subject: Re: DNS problem, nslookup not working
- Date: Mon, 01 May 2000 15:49:11 -0500
Brian A Bucher wrote:
>
> [...]
>
> >From /etc/resolv.conf:
> ------------------------------------------------
>
> domain n-p-i.net
> search n-p-i.net
> nameserver 192.168.3.5
This is what told it that 192.168.3.5 _should_ be running named.
> [bab1 npisrv1 bab1]$ nslookup
> *** Can't find server name for address 192.168.3.5: Server failed
> *** Default servers are not available
This indicates that 192.168.3.5 is not, in fact, running named.
Okay, fine. What confuses me is this:
> > server ns1.n-p-i.net
> Default Server: ns1.n-p-i.net
> Address: 216.230.78.179
Well, what is it? 192.168.3.5 or 216.230.78.179?
- Kevin Colby
kevinc grainsystems com
Brian A Bucher wrote:
>
> I'm not sure which list this question is best suited for, so if
> I should have sent it to another list, please let me know and
> I'll submit it there.
>
> I've recently reinstalled Rh6.1 on a machine that my company
> will be using as a server (name, mail, web, file) and am
> having some problems with the nameserver. I am able to connect
> to machines by hostname (open netscape, plug in www.yahoo.com,
> no problem) but when I type nslookup I get:
>
> [bab1 npisrv1 bab1]$ nslookup
> *** Can't find server name for address 192.168.3.5: Server failed
> *** Default servers are not available
>
> Now, my server is npisrv1.n-p-i.net, with an IP address of
> 192.168.3.5 as viewed from behind a switch (I think that's the
> correct term), and as 216.230.78.179 as viewed from machines
> elsewhere on the internet.
>
> One general question I have is, if I'm using this machine as a
> nameserver, do I need another nameserver (for example, my
> ISP's nameserver) anywhere in my system?
>
> I'm reading sections from Red Hat Linux 6 Server by Kabir and
> the O'Reilly DNS and BIND (3rd ed.) by Albitz and Liu, but I'm
> still confused.
>
> Thanks in advance for any help,
> Brian
>
> I've included all relevant files (I think) including:
>
> /etc/hosts
> /etc/host.conf
> /etc/resolv.conf
> /etc/named.conf
>
> >From /etc/hosts:
> ------------------------------------------------
> 192.168.3.5 npisrv1.n-p-i.net www ns1 mail ftp npisrv1
> 127.0.0.1 localhost localhost
>
> >From /etc/host.conf:
> ------------------------------------------------
> order hosts, bind
> multi on
>
> >From /etc/resolv.conf:
> ------------------------------------------------
>
> domain n-p-i.net
> search n-p-i.net
> nameserver 192.168.3.5
>
> >From /etc/named.conf
> ------------------------------------------------
>
> options {
> directory "/var/named";
> };
> zone "." {
> type hint;
> file "named.ca";
> };
> zone "n-p-i.net"{
> type master;
> file "n-p-i.net";
> };
> zone "3.168.192.IN-ADDR.ARPA"{
> type master;
> file "named.local";
> };
> zone "0.0.127.IN-ADDR.ARPA"{
> type master;
> file "127.0.0";
> };
>
> --------------------------------------------------------------
>
> milkyway(5)% nslookup
> Default Server: milkyway.mm.mtu.edu
> Address: 141.219.66.35
>
> > set type=ns
> > n-p-i.net
> Server: milkyway.mm.mtu.edu
> Address: 141.219.66.35
>
> Non-authoritative answer:
> n-p-i.net nameserver = ns1.n-p-i.net
>
> Authoritative answers can be found from:
> ns1.n-p-i.net internet address = 216.230.78.179
> > set type=soa
> > n-p-i.net.
> Server: milkyway.mm.mtu.edu
> Address: 141.219.66.35
>
> Non-authoritative answer:
> n-p-i.net
> origin = npisrv1.n-p-i.net
> mail addr = hostmaster.npisrv1.n-p-i.net
> serial = 2000050102
> refresh = 3600 (1 hour)
> retry = 900 (15 mins)
> expire = 1209600 (14 days)
> minimum ttl = 43200 (12 hours)
>
> Authoritative answers can be found from:
> n-p-i.net nameserver = ns1.n-p-i.net
> ns1.n-p-i.net internet address = 216.230.78.179
> >
> > server ns1.n-p-i.net
> Default Server: ns1.n-p-i.net
> Address: 216.230.78.179
>
> > n-p-i.net.
> Server: ns1.n-p-i.net
> Address: 216.230.78.179
>
> n-p-i.net
> origin = npisrv1.n-p-i.net
> mail addr = hostmaster.npisrv1.n-p-i.net
> serial = 2000050102
> refresh = 3600 (1 hour)
> retry = 900 (15 mins)
> expire = 1209600 (14 days)
> minimum ttl = 43200 (12 hours)
> n-p-i.net nameserver = ns1.n-p-i.net
> > set type=ns
> > n-p-i.net.
> Server: ns1.n-p-i.net
> Address: 216.230.78.179
>
> n-p-i.net nameserver = ns1.n-p-i.net
> >
>
> ----------------------------------------------------------------
>
> --
> To unsubscribe: mail redhat-install-list-request redhat com with
> "unsubscribe" as the Subject.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]