🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.user
2 messages
2 total messages Started by mark Sun, 31 Dec 2000 02:37
Pls Help. DNS resolver problem.
#29
Author: mark
Date: Sun, 31 Dec 2000 02:37
32 lines
1994 bytes
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


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).


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


Many Thanks!

Happy new year.
Re: Pls Help. DNS resolver problem.
#25
Author: 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.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads