🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.user
Article #25

Re: Pls Help. DNS resolver problem.

#25
From: Karl Heyes
Date: Tue, 02 Jan 2001 01:03
44 lines
2580 bytes
In article <3A4E9BD7.9A6FEB32@hk_for_sure.com>, "mark"
<mark@hk_for_sure.com> wrote:

> Situation:	I have moved my Linux server to my college, my college
> provides me four IP addresses (203.111.111.111 - 114). I use only
> one IP address 203.111.111.111. Since I don't want to use my college
> name server as a resolver so I build the named in my own Linux
> server.
> 
> 
> What did I do?
> 1. Set up the named package.
> 2. I did not configure the named at all.
> 3. Start the named.
> 4. Edit the "resolv.conf"
> 	search  mydomain.com nameserver 127.0.0.1
> 5. Edit the "host.conf"
> 	order hosts, bind multi on

check the /etc/nsswitch.conf file for the hosts line. host.conf was
the old way of resolving,  but I think the glibc checks for it.

> 
> 
> Problem:	 The named resolver does not work. It works when I ping the
> outside IP addresses. It does not work when I ping the domain names
> (such as ping www.yahoo.com).
> 

So routing works!

> 
> Did I do something wrong? How do I set up the named as a resolver
> for
> "MY OWN USE"?
> 

I guess you want your named taking to the root nameservers then.  Did
you install a caching nameserver config. is there any forward[er]
references in your named.conf.  

You will need a xone "." which is of type hint.

karl.
Technical Details
Message-ID: <92r95j$9v1$1@newsg3.svr.pol.co.uk>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!europa.netcrusader.net!195.92.193.196!diablo.theplanet.net!news.theplanet.net!newspost.theplanet.net!not-for-mail
References: <3A4E9BD7.9A6FEB32@hk_for_sure.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d8ad,3747269dc2f8ac62
X-Google-Attributes: gid10d8ad,public
X-Google-Thread: faa64,3747269dc2f8ac62
X-Google-Attributes: gidfaa64,public
X-Google-Thread: fb7a0,3747269dc2f8ac62
X-Google-Attributes: gidfb7a0,public
X-Google-Thread: 102983,3747269dc2f8ac62
X-Google-Attributes: gid102983,public
X-Google-ArrivalTime: 2001-01-01 18:22:07 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!europa.netcrusader.net!195.92.193.196!diablo.theplanet.net!news.theplanet.net!newspost.theplanet.net!not-for-mail
From: "Karl Heyes" <karl_heyes@removethisbit.lineone.net>
Newsgroups: linux.debian.user,aus.computers.linux,uk.comp.os.linux,alt.os.linux
Subject: Re: Pls Help. DNS resolver problem.
Followup-To: uk.comp.os.linux
Date: Tue, 02 Jan 2001 01:03:28 +0000
Organization: Customer of Energis Squared
Lines: 44
Message-ID: <92r95j$9v1$1@newsg3.svr.pol.co.uk>
References: <3A4E9BD7.9A6FEB32@hk_for_sure.com>
NNTP-Posting-Host: modem-660.seagull.dialup.pol.co.uk
X-Trace: newsg3.svr.pol.co.uk 978397171 10209 62.137.110.148 (2 Jan 2001 00:59:31 GMT)
NNTP-Posting-Date: 2 Jan 2001 00:59:31 GMT
X-Complaints-To: abuse@theplanet.net
User-Agent: Pan/0.9.2 (Unix)
X-No-Productlinks: Yes