From owner-freebsd-questions Mon Mar 16 05:33:11 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA09657 for freebsd-questions-outgoing; Mon, 16 Mar 1998 05:33:11 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from horton.iaces.com (horton.iaces.com [204.147.87.98]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA09645 for ; Mon, 16 Mar 1998 05:33:08 -0800 (PST) (envelope-from proot@horton.iaces.com) Received: (from proot@localhost) by horton.iaces.com (8.8.7/8.8.7) id HAA07763; Mon, 16 Mar 1998 07:31:19 -0600 (CST) From: "Paul T. Root" Message-Id: <199803161331.HAA07763@horton.iaces.com> Subject: Re: named question To: tom@tomqnx.com (Tom Torrance at home) Date: Mon, 16 Mar 1998 07:31:19 -0600 (CST) Cc: osa@unibest.ru, tom@tomqnx.com, freebsd-questions@FreeBSD.ORG In-Reply-To: from Tom Torrance at home at "Mar 14, 98 07:59:44 am" X-Organization: USWEST !nterprise Networking - ACES X-Phone: (612) 664-3385 X-Fax: (612) 664-4779 X-Page: (800) SKY-PAGE PIN: 537-7270 X-Address: 600 Stinson Blvd, Fl 1S X-Address: Minneapolis, MN 55413 X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In a previous message, Tom Torrance at home said: > > In a previous message, Ozz!!! said: > > > On Fri, 13 Mar 1998, Paul T. Root wrote: > > > > > > > In a previous message, Tom Torrance at home said: > > > > > Pardon my ignorance, but... > > > > > > > > > > How can I force named to look up my domain "tomqnx.com" before it checks "com". > > > > > My named thinks it is authoratative, but the rest of the internet does not > > > > > agree - I am behind a demand-dial ijppp connection. I particularly want > > > > > to block names like "mail" to be resolved locally, rather than forcing > > > > > a dial-up connection to do the DNS thing. > > > > > > > > > > Please respond via e-mail, as I am not subscribed to "questions". > > > > > > > > > > Thanks in advance! > > > > > > > > > > Tom > > > > > > > > > > > > > Sounds like a resolv.conf problem. > > > > > > > > make sure it's correct: > > > > > > > > domain tomqnx.com > > > ^^^^^^ > > > Maybe search tomqnx.com ??? > > > > Search is ok too, but search implies a list of more than one domain. > > search and domain override each other, which ever comes last is > > used. The first domain in the search list is set as the 'default domain' > > > It is definitely a named problem/feature, I believe. The DNS is local, > and search is set to "search tomqnx.com com". If I ping darkstar.tomqnx.com Why do you want to have com in a search path, it seems silly and unnessary. I'd just go with domain tomqnx.com > which is a real computer, no dial is forced. If I ping "news", which is > not defined, a dial is forced to ask the forwarders for the address of > news.com (eliminate this with the search command). Actually, this is what you are asking it to do. With the search command you're asking it to look for hosts in the tomqnx.com domain and if you can't find it there, search in the com domain. Since you aren't authoritative for the com domain, it has to talk to some that does. Using domain instead of search, would solve your problem and remove the necessity of your faking addresses from your other email. > Then the problem: > It asks the forwarders for the address of "news." which is the nasty thing. > > It is this last recursion that I would like to eliminate. > > Is this possible? > > Regards, > Tom > -- "They gave me a book of checks. They didn't ask for any deposits." -- Congressman Joe Early (D-Mass) at a press conference to answer questions about the House Bank scandal. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message