Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Sep 2000 16:44:49 +0100
From:      Ben Smithurst <ben@FreeBSD.org>
To:        John Murphy <bigotfo@bigfoot.com>
Cc:        questions@freebsd.org
Subject:   Re: DNS resolving by internal network
Message-ID:  <20000902164449.I72445@strontium.scientia.demon.co.uk>
In-Reply-To: <HZ2vORKQHbvZgySsjGOM=viOhQou@4ax.com>
References:  <HZ2vORKQHbvZgySsjGOM=viOhQou@4ax.com>

next in thread | previous in thread | raw e-mail | index | archive | help
John Murphy wrote:

[caching DNS server]
> I, for one, would like to do that.  Is there a tutorial somewhere?

Not that I know of.  But the named.conf file you need should be fairly
simple, the important bits you need to add are:

	forward first;
	forwarders {
		1.2.3.4;
		5.6.7.8;
	};

Where the two IP addresses are the IP addresses of your ISP's
nameservers which would normally be in /etc/resolv.conf.  This will make
named forward requests to those nameservers, and cache the answers.  If
those nameservers don't respond your local named will contact the root
name servers (see named.root) and find the answer from there, which
will take longer.  But most of the time your ISP's nameservers should
respond, of course.

The /etc/resolv.conf files (or Windows TCP/IP settings, or whatever) on
your other computers should then list just the IP address of your local
machine which is running named.

-- 
Ben Smithurst / ben@FreeBSD.org / PGP: 0x99392F7D


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?20000902164449.I72445>