* Sendmail not using my /etc/hosts file.
@ 1997-03-05 5:00 Mark Donaldson
1997-03-06 5:00 ` Andrew Mc.Ghee
0 siblings, 1 reply; 4+ messages in thread
From: Mark Donaldson @ 1997-03-05 5:00 UTC (permalink / raw)
For some reason, sendmail (and nslookup) are not using my /etc/hosts
file to resolve IP addresses. The DNS addresses resolve just fine but
I'm sending mail to a hostname that isn't in DNS but is in my hosts
table.
I'm using Digital UNIX 3.2c.
My /etc/svc.conf file looks like this (comments snipped):
aliases=local
group=local
hosts=local,bind
netgroup=local
networks=local
passwd=local
protocols=local
rpc=local
services=local
SECLEVEL=BSD # for backwards compatibility ONLY
Any ideas??
-Mark Donaldson
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Sendmail not using my /etc/hosts file.
1997-03-05 5:00 Sendmail not using my /etc/hosts file Mark Donaldson
@ 1997-03-06 5:00 ` Andrew Mc.Ghee
1997-03-06 5:00 ` Mark.Donaldson
0 siblings, 1 reply; 4+ messages in thread
From: Andrew Mc.Ghee @ 1997-03-06 5:00 UTC (permalink / raw)
To: Mark Donaldson
Mark,
Are you running tcp_wrappers on your system?
We had a similar problem for host machines that where defined within our
/etc/hosts file but where not defined on the local DNS server.
If you are using tcpd, then your problem is probably associated with the
PARANOID option set in tcpd, when requests a second check on any
hostname. Hence the host name in your /etc/hosts file will not match a
query from your local DNS, and the request is aborted.
If this is your problem (I am unsure how sendmail is affected by tcpd),
then you can re-compile tcpd with the PARANOID option commented out, and
it should work fine.
However, we do notice that nslookup still does not work either. If you
hear of a method to fix this, we'd appreciate hearing from you.
regards,
Andrew Mc.Ghee
Mechanical Engineering, University of Queensland
Mark Donaldson wrote:
>
> For some reason, sendmail (and nslookup) are not using my /etc/hosts
> file to resolve IP addresses. The DNS addresses resolve just fine but
> I'm sending mail to a hostname that isn't in DNS but is in my hosts
> table.
>
> I'm using Digital UNIX 3.2c.
>
> My /etc/svc.conf file looks like this (comments snipped):
> aliases=local
> group=local
> hosts=local,bind
> netgroup=local
> networks=local
> passwd=local
> protocols=local
> rpc=local
> services=local
>
> SECLEVEL=BSD # for backwards compatibility ONLY
>
> Any ideas??
>
> -Mark Donaldson
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Sendmail not using my /etc/hosts file.
1997-03-06 5:00 ` Andrew Mc.Ghee
@ 1997-03-06 5:00 ` Mark.Donaldson
0 siblings, 0 replies; 4+ messages in thread
From: Mark.Donaldson @ 1997-03-06 5:00 UTC (permalink / raw)
In article <331E269E.6F81@sun.mech.uq.edu.au>,
"Andrew Mc.Ghee" <mcghee@sun.mech.uq.edu.au> wrote:
>
> Mark,
> Are you running tcp_wrappers on your system?
I don't know. I inherited this system. The man pages turn up no
reference to wrap, wrappers, or tcpd so I suspect not. I also have no
tcpd process.
<snip>
> However, we do notice that nslookup still does not work either. If you
> hear of a method to fix this, we'd appreciate hearing from you.
>
According to my O'Reilly sendmail book, sendmail uses nslookup to resolve
hostnames. Strangely enough, "ping" can lookup the name from /etc/hosts
just fine while nslookup and sendmail cannot. I could hardcode the
address into the sendmail config file but I'd rather not. I try to keep
my fingers out of that and it is only a symptomatic fix, not a fix to the
core problem.
Thanks for the input, though.
Anybody else have any ideas?
-Mark
(forgive the dejanews posting source, our news server here is flaky right
now)
> Mark Donaldson wrote:
> >
> > For some reason, sendmail (and nslookup) are not using my /etc/hosts
> > file to resolve IP addresses. The DNS addresses resolve just fine but
> > I'm sending mail to a hostname that isn't in DNS but is in my hosts
> > table.
> >
> > I'm using Digital UNIX 3.2c.
> >
> > My /etc/svc.conf file looks like this (comments snipped):
> > aliases=local
> > group=local
> > hosts=local,bind
> > netgroup=local
> > networks=local
> > passwd=local
> > protocols=local
> > rpc=local
> > services=local
> >
> > SECLEVEL=BSD # for backwards compatibility ONLY
> >
> > Any ideas??
> >
> > -Mark Donaldson
-------------------==== Posted via Deja News ====-----------------------
http://www.dejanews.com/ Search, Read, Post to Usenet
^ permalink raw reply [flat|nested] 4+ messages in thread
* Sendmail not using my /etc/hosts file.
@ 1997-03-05 5:00 Mark Donaldson
0 siblings, 0 replies; 4+ messages in thread
From: Mark Donaldson @ 1997-03-05 5:00 UTC (permalink / raw)
For some reason, sendmail (and nslookup) are not using my /etc/hosts
file to resolve IP addresses. The DNS addresses resolve just fine but
I'm sending mail to a hostname that isn't in DNS but is in my hosts
table.
My /etc/svc.conf file looks like this (comments snipped):
aliases=local
group=local
hosts=local,bind
netgroup=local
networks=local
passwd=local
protocols=local
rpc=local
services=local
SECLEVEL=BSD # for backwards compatibility ONLY
Any ideas??
-Mark Donaldson
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1997-03-06 5:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-03-05 5:00 Sendmail not using my /etc/hosts file Mark Donaldson
1997-03-06 5:00 ` Andrew Mc.Ghee
1997-03-06 5:00 ` Mark.Donaldson
-- strict thread matches above, loose matches on Subject: below --
1997-03-05 5:00 Mark Donaldson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox