From owner-freebsd-questions Wed Oct 13 9:19:42 1999 Delivered-To: freebsd-questions@freebsd.org Received: from tahiti.sofrecom.fr (tahiti.sofrecom.fr [194.2.176.225]) by hub.freebsd.org (Postfix) with ESMTP id BCC9415334 for ; Wed, 13 Oct 1999 09:19:30 -0700 (PDT) (envelope-from yveline.josserand@sofrecom.fr) Received: from galileo.sofrecom.fr (galileo.sofrecom.fr [192.168.101.1]) by tahiti.sofrecom.fr with ESMTP id SAA13334; Wed, 13 Oct 1999 18:19:27 +0200 (MET DST) Received: from marquise.tmn.sofrecom.fr (tmn-064.tmn.sofrecom.fr [192.160.123.64]) by galileo.sofrecom.fr (8.8.8/8.8.5) with SMTP id SAA22884; Wed, 13 Oct 1999 18:19:26 +0200 (CEST) Message-ID: <3804BF1E.517F@sofrecom.fr> Date: Wed, 13 Oct 1999 18:19:26 +0100 From: yveline josserand Reply-To: yveline.josserand@sofrecom.fr Organization: sofrecom X-Mailer: Mozilla 3.01 [fr] (Win95; I) MIME-Version: 1.0 To: cjclark@home.com Cc: freebsd-questions@FreeBSD.ORG Subject: Re: nslookup on Freebsd 2.X and Freebsd 3.2 References: <199910130152.VAA35762@cc942873-a.ewndsr1.nj.home.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Good Evenig, Here is a part of my named.conf. It looks like this: zone "0.0.127.IN-ADDR.ARPA" { type master; file "localhost.rev"; }; zone "sofrecom.fr" { type master; file "sofrecom.fr"; }; My named.boot in Freebsd 2.X looks like this: primary 0.0.127.IN-ADDR.ARPA localhost.rev primary sofrecom.fr sofrecom.fr Here is the localhost.rev file ; From: @(#)localhost.rev 5.1 (Berkeley) 6/30/90 ; $Id: PROTO.localhost.rev,v 1.4 1997/05/01 21:02:37 ache Exp $ ; ; This file is automatically edited by the `make-localhost' script in ; the /etc/namedb directory. ; @ IN SOA epsilon.sofrecom.fr. root.epsilon.sofrecom.fr. ( 19991013 ; Serial 3600 ; Refresh 900 ; Retry 3600000 ; Expire 3600 ) ; Minimum IN NS epsilon.sofrecom.fr. 1 IN PTR localhost.sofrecom.fr. ~ I have changed the file /etc/resov.conf from: domain sofrecom.fr to: search localhost.sofrecom.fr localhost 127.0.0.1 nameserver 127.0.0.1 When I invoke nslookup with aaa.sofrecom.fr I have: ;; res_mkquery(0,aaa.sofrecom.fr.localhost.sofrecom.fr, 1, 1) ------------ Got answer: HEADER: opcode = QUERY, id = 16335, rcode = NXDOMAIN header flags: response, auth. answer, want recursion, recursion avail. questions = 1, answers = 0, authority records = 1, additional = 0 QUESTIONS: aaa.sofrecom.fr.localhost.sofrecom.fr, type = A, class = IN ------------ > It is correct because aaa doesn't exist in my domain. I use nslookup because I have a problem with sendmail 8.9.3. When I use an inexistent domain in my e-mail heading address (yveline.josserand@aaa.sofrecom.fr), I send a message to ping@ oleane.com, the mail is accepted for delivery. It may be rejected with the following message: sender domain may resolve because aaa doesn't exit Have I had an another means to determine where is the problem? have you have any idea? Thanks Yveline Josserand ---- SOFRECOM Tel : 33 1 43985883 Fax : 33 1 43985803 e-mail : yveline.josserand@sofrecom.fr Crist J. Clark wrote: > > yveline josserand wrote, > > Good Evening > > > > I'm running freebsd 3.2. When I type: > > > > nslookup > > I have the following message > > > > Default Server: localhost.sofrecom.fr > > Address: 127.0.0.1 > > > > >aaa.sofrecom.fr > > > > > Server: localhost.sofrecom.fr > > Address: 127.0.0.1 > > > > Name: aaa.sofrecom.fr.sofrecom.fr > > > > aaa isn't defined on my system > > It's somewhat hard to understand this. What _exactly_ does it say? > Does it say something after the "Name:" line? > > > If I'm running freebsd 2.X and I type the same command: > > > > nslookup > > I have the following message > > > > Default Server: localhost.sofrecom.fr > > Address: 127.0.0.1 > > > > >aaa.sofrecom.fr > > > > > Server: localhost.sofrecom.fr > > Address: 127.0.0.1 > > > > *** localhost.sofrecom.fr can't find aaa.sofrecom.fr: > > Non-existent host-domain > > > > Here also, aaa isn't defined. Why with freebsd 3.2 I don't have > > the same behaviour that in freebsd 2.X. Is somebody has an idea? > > May I have something else to configure to have the same result ? > > What does your named.boot on the 2.x.x system look like and the > named.conf on the 3.2? > -- > Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message