Date: Wed, 13 Oct 1999 18:19:26 +0100 From: yveline josserand <yveline.josserand@sofrecom.fr> To: cjclark@home.com Cc: freebsd-questions@FreeBSD.ORG Subject: Re: nslookup on Freebsd 2.X and Freebsd 3.2 Message-ID: <3804BF1E.517F@sofrecom.fr> References: <199910130152.VAA35762@cc942873-a.ewndsr1.nj.home.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3804BF1E.517F>
