×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

host name lookup failure

host name lookup failure

host name lookup failure

(OP)
thread14-1217101: Name resolution and maybe more

I have a FreeBSD 5.4 box running Sendmail 8.
I had a remarkably similar problem to one in the referenced thread (sendmail emails won't go out, "host name lookup failure" entries in the log).
I resolved the issue by replacing the "Smart" relay host entry, which had been the DNS name of the relay server, with the IP in brackets of the relay server:
DS[x.x.x.x]

This worked like a charm, but my question is why?  
Sendmail had been working fine using the DNS name of the server and then all of a sudden it won't send unless it has an IP as the relay host. I know I'm missing something.

Curiously, I was able to ping the DNS name, do an nslookup, even send a TELNET email via the relay server. But sending from sendmail would dump the deferred email in the queue and add that "host name lookup failure" entry in the log.
/etc/hosts and /etc/resolv.conf had valid entries, as far as I can tell and I even set up a mailertable.

If someone out there can explain this to me I would greatly appreciate it.

Thanks!

Best,

Andy

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close