Sendmail host lookup problem

Ted Mittelstaedt tedm at toybox.placo.com
Mon Feb 7 00:57:54 PST 2005



> -----Original Message-----
> From: owner-freebsd-questions at freebsd.org
> [mailto:owner-freebsd-questions at freebsd.org]On Behalf Of Hexren
> Sent: Sunday, February 06, 2005 2:49 PM
> To: Ted Mittelstaedt
> Cc: freebsd-questions at freebsd.org
> Subject: Re[2]: Sendmail host lookup problem
>
>
>
>
> >> -----Original Message-----
> >> From: owner-freebsd-questions at freebsd.org
> >> [mailto:owner-freebsd-questions at freebsd.org]On Behalf Of Hexren
> >> Sent: Sunday, February 06, 2005 1:46 PM
> >> To: freebsd-questions at freebsd.org
> >> Subject: Sendmail host lookup problem
> >>
> >>
> >> 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.
>
> TM> Either you don't have correct entries in the nameserver, or your
> TM> /etc/resolv.conf on gc-infra is not using 192.168.0.29 as it's
> TM> nameserver.
>
> TM> What is the output of nslookup on gc-infra when you key in
> TM> the bettchen.steenbuck.net name?  What is it when you issue
> TM> a "set type=mx" at the nslookup prompt followed by the
> TM> bettchen.steenbuck.net name?  What is it when you key in the
> TM> IP number 192.168.0.29?
>
> TM> Ted
> TM> _______________________________________________
> TM> freebsd-questions at freebsd.org mailing list
> TM> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> TM> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
>
> ---------------------------------------------
>
> [gc-infra:~]#nslookup bettchen.steenbuck.net
> Server:         192.168.0.29
> Address:        192.168.0.29#53
>

This is a problem, the output should read:

Server:         bettchen.steenbuck.net
Address:        192.168.0.29

Name:   bettchen.steenbuck.net
Address: 192.168.0.29

> Name:   bettchen.steenbuck.net
> Address: 192.168.0.29
>
> -----------------
> [gc-infra:~]#nslookup
> > set type=mx
> > bettchen.steenbuck.net
> Server:         192.168.0.29
> Address:        192.168.0.29#53
>
> bettchen.steenbuck.net  mail exchanger = 10 bettchen.steenbuck.net.
>

Here's another possible problem, the output should read:

bettchen.steenbuck.net  preference=10, mail exchanger = 10
bettchen.steenbuck.net
(followed by some glue data)


> -----------------
>
> [gc-infra:~]#nslookup 192.168.0.29
> Server:         192.168.0.29
> Address:        192.168.0.29#53
>
> 29.0.168.192.in-addr.arpa       name =
> bettchen.steenbuck.net.0.168.192.in-addr.arpa.
>

name should be bettchen.steenbuck.net, not
bettchen.steenbuck.net.0.168.192.in-addr.arpa.


Post your zone files in bettchen as well as named.conf


Ted



More information about the freebsd-questions mailing list