Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Jan 2003 13:24:44 -0800
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Peter Much <pmc@citylink.dinoex.sub.org>
Cc:        Gregory Neil Shapiro <gshapiro@FreeBSD.ORG>, hackers@FreeBSD.ORG
Subject:   Re: sendmail: how to get the named of FreeBSD4.7 standards compliant?
Message-ID:  <3E1C971C.7581F3BD@mindspring.com>
References:  <no.id> <20030101181330.C8233@disp.oper.dinoex.org> <3E134659.78028611@mindspring.com> <20030106173652.A495@disp.oper.dinoex.org> <3E1A1336.9F535670@mindspring.com> <20030108000930.A512@disp.oper.dinoex.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Peter Much wrote:
> ! So if I look up an unqualified "froboz", it's assumed to be in
> ! the local domain because of the DNS suffix every machine is using,
> ! and every machine is using it, either because you told it to, or
> ! because that's what the DHCP server told it to use, when it handed
> ! each machine it's IP address.
> 
> Exactly. And when this is not found, then the resolver will
> inplicitly issue another query for the unqualified name.
> 
> And it is even worse with sendmail, because sendmail does quite
> interesting things there - like switching off RES_DEFNAMES -
> so this one will definitely not add the local domain.

This is broken in 2 ways:

1)	The default names option in the standard resolver will prevent
	another query for the unqualified name, since unqualified names
	are supposed to get the local domain name, unconditionally.

2)	It's possible to change the resolver flags in sendmail by
	adding lines to the M4 file source code.  You need to look
	at the source tree and read cf/README.

-- Terry

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E1C971C.7581F3BD>