Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Dec 2001 14:37:15 +0000
From:      Scott Mitchell <scott.mitchell@mail.com>
To:        Anthony Atkielski <anthony@freebie.atkielski.com>
Cc:        freebsd-questions@FreeBSD.ORG, Simon J Mudd <sjmudd@pobox.com>
Subject:   Re: /etc/hosts vs. DNS for local-only machines
Message-ID:  <20011215143715.B5071@localhost>
In-Reply-To: <01b401c184a0$63bf74d0$0a00000a@atkielski.com>; from anthony@freebie.atkielski.com on Fri, Dec 14, 2001 at 02:08:14PM %2B0100
References:  <018701c18488$24f3a310$0a00000a@atkielski.com> <86pu5i2dll.fsf@unicorn.ea4els.ampr.org> <01b401c184a0$63bf74d0$0a00000a@atkielski.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Dec 14, 2001 at 02:08:14PM +0100, Anthony Atkielski wrote:
> My situation is a little more bizarre in that I want the local hostnames to
> be part of my external domain (atkielski.com).  Additionally, some of my
> local hostnames duplicate external names but must point to a different
> address (e.g., freebie.atkielski.com, the hostname of my FreeBSD box, points
> to its local LAN address on my nameserver, but points to my external IP
> address on the external nameserver that is authoritative for the domain as
> seen by the rest of the world).
> 
> What I've done thus far is set up my own nameserver as the authoritative
> server for my external domain (even though it's not), and then define
> everything in my own zone files.  Since no server queries my server from the
> outside, and since both of my own machines query my server first, this
> should work, and it appears to work okay.  The DNS lookups are extremely
> fast once an address is in cache, compared to the slowness of my ISP's
> nameservers.

Sounds like you've done everything right -- the internal server only
answers queries from other internal hosts, so it can claim whatever it
wants and the rest of the world won't care.

	Scott

-- 
===========================================================================
Scott Mitchell          | PGP Key ID | "Eagles may soar, but weasels
Cambridge, England      | 0x54B171B9 |  don't get sucked into jet engines"
scott.mitchell@mail.com | 0xAA775B8B |      -- Anon

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?20011215143715.B5071>