Date: Sun, 27 May 2001 09:15:32 -0400 From: Bill Moran <wmoran@iowna.com> To: "Timothy L. Robertson" <timothyr@timothyr.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Cacheing DNS and private network resolution Message-ID: <3B10FDF4.8FF53524@iowna.com> References: <NEBBIFIGLFNBHJFLLOKKMEAADHAA.timothyr@timothyr.com>
next in thread | previous in thread | raw e-mail | index | archive | help
"Timothy L. Robertson" wrote: > > Hi Everyone, > > I have my trusty home server running 4.3-STABLE which connects my private network (192.168.x.x) to the outside world over a DSL modem. The gateway is running natd, named, and dhcpd for the internal machines and does a great job. The only problem is that internal names are not resolved properly. How do I get private1.example.net to resolve to 192.168.1.2 on my internal network? Do I have to write a SOA record, or is there an easy way to do it with /etc/hosts? Right now it seems to resolve to the gateway machine; all external names are resolved fine. Any help appreciated. Files available if they would be useful. Yes, you need to create a local zone to have internal DNS resolve. One of the best explanations on DNS that I know of is in "The Complete FreeBSD" by Greg Lehey. If you don't already have that book, I recommend it. -Bill 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?3B10FDF4.8FF53524>