Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Feb 2005 22:46:06 +0100
From:      Hexren <me@hexren.net>
To:        freebsd-questions@freebsd.org
Subject:   Sendmail host lookup problem
Message-ID:  <4939268274.20050206224606@hexren.net>

next in thread | raw e-mail | index | archive | help
------------10E1748AB41B143
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I have a LAN in the 192.168.0 range. I am trying to send mail from
192.168.0.78 (gc-infra.steenbuck.net) to 192.168.0.29
(bettchen.steenbuck.net).
This leeds to 550 errors. "Host unknown (Name server: bettchen.steenbuck.net: host not found)"

192.168.0.29 is also acting as my DNS Server. Both machines have correct (or so I hope) entries in the nameserver. I can dig their names and
"dig -x" their pointers. Be aware of the fact
that I am not the owner of steenbuck.net and just tell my own machines
that I am because I like the name.

Interestingly adding "192.168.0.29 bettchen bettchen.steenbuck.net" to /etc/hosts
solves my problem.

I sniffed the network and gc-infra does the same in both cases. It
asks DNS for the IP of bettchen and gets it. Only when bettchen is in
/etc/hosts it then sends the mail otherwise not.

I've googled around a bit and searched the list and found similiar
problems:
http://lists.freebsd.org/pipermail/freebsd-questions/2004-December/068127.html
Only I do not have any kind if W2K in my LAN. And the DNS
server is FreeBSD (BIND).

I am lost. Has anybody an idea how I can investigate further into my
problem.

Thanks
Hexren


Attachments:
maildmp_dns    :ethereal compatible dump without target host
(bettchen) in /etc/hosts

maildmp_hosts  :ethereal compatible dump with target host
(bettchen) in /etc/hosts
------------10E1748AB41B143
Content-Type: application/octet-stream; name=maildmp_dns
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=maildmp_dns

1MOyoQIABAAAAAAAAAAAAOkFAAABAAAAKoQGQtAdDABSAAAAUgAAAAAOLjA7IgAOLirvHwgARQAA
RE7JAABAEaokwKgATsCoAB38kwA1ADDq7u50AQAAAQAAAAAAAAhnYy1pbmZyYQlzdGVlbmJ1Y2sD
bmV0AAAcAAEqhAZCWiEMAIQAAACEAAAAAA4uKu8fAA4uMDsiCAB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7neFgAABAAAAAQAACGJldHRjaGVuCXN0
ZWVuYnVjawNuZXQAABwAAcAVAAYAAQABUYAAJgJuc8AVCmhvc3RtYXN0ZXLAFQvovScAAHCAAAAc
IAAk6gAAAVGAKoQGQgNXDABSAAAAUgAAAAAOLjA7IgAOLirvHwgARQAARE7OAABAEaofwKgATsCo
AB3d3wA1ADDtj+54AQAAAQAAAAAAAAhiZXR0Y2hlbglzdGVlbmJ1Y2sDbmV0AAABAAEqhAZCqVgM
AIMAAACDAAAAAA4uKu8fAA4uMDsiCABFAAB1CBkAAEAR8KPAqAAdwKgATgA13d8AYR8I7niFgAAB
AAEAAQABCGJldHRjaGVuCXN0ZWVuYnVjawNuZXQAAAEAAcAMAAEAAQAD9IAABMCoAB3AFQACAAEA
A/SAAAUCbnPAFcBEAAEAAQAD9IAABMCoAB0=


------------10E1748AB41B143
Content-Type: application/octet-stream; name=maildmp_hosts
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=maildmp_hosts

1MOyoQIABAAAAAAAAAAAAOkFAAABAAAATIMGQkijDQBSAAAAUgAAAAAOLjA7IgAOLirvHwgARQAA
RE2dAABAEatQwKgATsCoAB324AA1ADCLvFNaAQAAAQAAAAAAAAhnYy1pbmZyYQlzdGVlbmJ1Y2sD
bmV0AAAcAAFMgwZCdKYNAIQAAACEAAAAAA4uKu8fAA4uMDsiCABFAAB2B5gAAEAR8SPAqAAdwKgA
TgA19uAAYvZBU1qFgAABAAAAAQAACGdjLWluZnJhCXN0ZWVuYnVjawNuZXQAABwAAcAVAAYAAQAB
UYAAJgJuc8AVCmhvc3RtYXN0ZXLAFQvovScAAHCAAAAcIAAk6gAAAVGATIMGQiunDQBgAAAAYAAA
AAAOLjA7IgAOLirvHwgARQAAUk2fAABAEatAwKgATsCoAB3fVAA1AD6ZGVNbAQAAAQAAAAAAAAhn
Yy1pbmZyYQlzdGVlbmJ1Y2sDbmV0CXN0ZWVuYnVjawNuZXQAABwAAUyDBkKzqA0AkgAAAJIAAAA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AAAOLirvHwAOLjA7IggARQAANAeyQABA
BrFWwKgAHcCoAE4AGfovB9rHTVJmDrKAEIIYNlMAAAEBCAoABXzvAxWSA06DBkLolA0AQgAAAEIA
AAAADi4q7x8ADi4wOyIIAEUAADQHs0AAQAaxVcCoAB3AqABOABn6Lwfax01SZg6ygBGCGDZSAAAB
AQgKAAV87wMVkgNOgwZCRpUNAEIAAABCAAAAAA4uMDsiAA4uKu8fCABFAAA0TdNAAEAGazXAqABO
wKgAHfovABlSZg6yB9rHToAQghc2UwAAAQEICgMVkgMABXzv


------------10E1748AB41B143--



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