<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Sendmail DNS issues in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-dns-issues/m-p/2914976#M933894</link>
    <description>You are having dns resolution problems.&lt;BR /&gt;&lt;BR /&gt;On the outbound server&lt;BR /&gt;&lt;BR /&gt;nslookup yahoo.com&lt;BR /&gt;&lt;BR /&gt;I expect you NOT to get an answer.&lt;BR /&gt;&lt;BR /&gt;Two ways of handling it.&lt;BR /&gt;&lt;BR /&gt;modify /etc/resolv.conf&lt;BR /&gt;&lt;BR /&gt;put a server in there that will actually resolve Domain names for you.&lt;BR /&gt;&lt;BR /&gt;Save the file, your email should go.&lt;BR /&gt;&lt;BR /&gt;Second solution: mail relay&lt;BR /&gt;&lt;BR /&gt;If you have a firewall, it can probably also relay smtp traffic and handle DNS resolution for you.&lt;BR /&gt;&lt;BR /&gt;The admin of the firewall must allow relay from your IP address.&lt;BR /&gt;&lt;BR /&gt;Then you modify /etc/mail/sendmail.cf&lt;BR /&gt;&lt;BR /&gt;Look for the DS directieve.&lt;BR /&gt;&lt;BR /&gt;Change it to:&lt;BR /&gt;&lt;BR /&gt;DS&lt;BR /&gt;[IP address of the relay server]&lt;BR /&gt;&lt;BR /&gt;save the file&lt;BR /&gt;&lt;BR /&gt;/sbin/init.d/sendmail stop&lt;BR /&gt;/sbin/init.d/sendmail start&lt;BR /&gt;&lt;BR /&gt;Retry mail with diagnostics&lt;BR /&gt;&lt;BR /&gt;sendmail -v -d38.9 -d8.99 targetemail@targetdomain.com&lt;BR /&gt;&lt;BR /&gt;this will give you diagnostics and tracing&lt;BR /&gt;&lt;BR /&gt;run the command above&lt;BR /&gt;&lt;BR /&gt;type a tag line like "I wuz here"&lt;BR /&gt;Hit enter&lt;BR /&gt;type a period(dot)&lt;BR /&gt;.&lt;BR /&gt;&lt;BR /&gt;Hit enter&lt;BR /&gt;&lt;BR /&gt;SEP&lt;BR /&gt;</description>
    <pubDate>Thu, 27 Feb 2003 17:54:21 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2003-02-27T17:54:21Z</dc:date>
    <item>
      <title>Sendmail DNS issues</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-dns-issues/m-p/2914975#M933893</link>
      <description>Hello all,&lt;BR /&gt;&lt;BR /&gt;I know this has been brought up before, but I can't seem to find the exact solution so I???ll give it a post also....&lt;BR /&gt;&lt;BR /&gt;We have 2 servers running hpux 11 and sendmail 8.12.  One is inbound traffic and one is outbound traffic.  The outbound server is getting the error Deferred: Name server: xxxx.xxxx.com.: host name lookup failure message at a high rate (maybe 1 in 20 emails to legitimate sites).  It is failing on such sites as Yahoo, Hp, and Excite for example.  If I do nslookups from the server outbound itself, it finds the correct ip.&lt;BR /&gt;&lt;BR /&gt;On some occasions, it will fail 2 of 3 times before it finally finds the ip and sends the email out or it might even fail completely.  We are using out isp's resolver and there have been no changes made to our firewall.  It just seems to be getting slowly worse as we went from 15-20 a year ago to 400-600 failures now.&lt;BR /&gt;&lt;BR /&gt;I understand that network congestion plays a part in these messages, but I don't understand why sendmail fails to lookup records but I can from the same server?&lt;BR /&gt;&lt;BR /&gt;Is there anything that I can do about these dns issues?  Are there any timeouts that you would suggest we change?  Anything at all?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance!!&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 27 Feb 2003 17:48:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-dns-issues/m-p/2914975#M933893</guid>
      <dc:creator>James Stenglein</dc:creator>
      <dc:date>2003-02-27T17:48:03Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail DNS issues</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-dns-issues/m-p/2914976#M933894</link>
      <description>You are having dns resolution problems.&lt;BR /&gt;&lt;BR /&gt;On the outbound server&lt;BR /&gt;&lt;BR /&gt;nslookup yahoo.com&lt;BR /&gt;&lt;BR /&gt;I expect you NOT to get an answer.&lt;BR /&gt;&lt;BR /&gt;Two ways of handling it.&lt;BR /&gt;&lt;BR /&gt;modify /etc/resolv.conf&lt;BR /&gt;&lt;BR /&gt;put a server in there that will actually resolve Domain names for you.&lt;BR /&gt;&lt;BR /&gt;Save the file, your email should go.&lt;BR /&gt;&lt;BR /&gt;Second solution: mail relay&lt;BR /&gt;&lt;BR /&gt;If you have a firewall, it can probably also relay smtp traffic and handle DNS resolution for you.&lt;BR /&gt;&lt;BR /&gt;The admin of the firewall must allow relay from your IP address.&lt;BR /&gt;&lt;BR /&gt;Then you modify /etc/mail/sendmail.cf&lt;BR /&gt;&lt;BR /&gt;Look for the DS directieve.&lt;BR /&gt;&lt;BR /&gt;Change it to:&lt;BR /&gt;&lt;BR /&gt;DS&lt;BR /&gt;[IP address of the relay server]&lt;BR /&gt;&lt;BR /&gt;save the file&lt;BR /&gt;&lt;BR /&gt;/sbin/init.d/sendmail stop&lt;BR /&gt;/sbin/init.d/sendmail start&lt;BR /&gt;&lt;BR /&gt;Retry mail with diagnostics&lt;BR /&gt;&lt;BR /&gt;sendmail -v -d38.9 -d8.99 targetemail@targetdomain.com&lt;BR /&gt;&lt;BR /&gt;this will give you diagnostics and tracing&lt;BR /&gt;&lt;BR /&gt;run the command above&lt;BR /&gt;&lt;BR /&gt;type a tag line like "I wuz here"&lt;BR /&gt;Hit enter&lt;BR /&gt;type a period(dot)&lt;BR /&gt;.&lt;BR /&gt;&lt;BR /&gt;Hit enter&lt;BR /&gt;&lt;BR /&gt;SEP&lt;BR /&gt;</description>
      <pubDate>Thu, 27 Feb 2003 17:54:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-dns-issues/m-p/2914976#M933894</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-02-27T17:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail DNS issues</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-dns-issues/m-p/2914977#M933895</link>
      <description>We can lookup yahoo.com and it returns the correct ip.  It just happens occasionally that it will fail.  The resolv.conf is set to the ISPs resolver which i assume points to the root servers.  Unless we can query the root servers themselves without building dns on the sendmail servers.  The network guys have told me that the firewall will not act as a relay for sendmail or a dns resolver.&lt;BR /&gt;&lt;BR /&gt;I am more curious as to why the dns failures happen when the lookups that we do from the server comeback correct.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance!</description>
      <pubDate>Thu, 27 Feb 2003 18:47:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-dns-issues/m-p/2914977#M933895</guid>
      <dc:creator>James Stenglein</dc:creator>
      <dc:date>2003-02-27T18:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail DNS issues</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-dns-issues/m-p/2914978#M933896</link>
      <description>Hello there&lt;BR /&gt;&lt;BR /&gt;What do you have in your /etc/nsswitch.conf for your hosts settings?&lt;BR /&gt;&lt;BR /&gt;You can try one of theese settings and see if your results get better.&lt;BR /&gt;&lt;BR /&gt;hosts: files [NOTFOUND=continue TRYAGAIN=continue] dns&lt;BR /&gt;&lt;BR /&gt;hosts: files [NOTFOUND=continue UNAVAIL=return TRYAGAIN=return] dns [NOTFOUND=return UNAVAIL=continue TRYAGAIN=return]&lt;BR /&gt;&lt;BR /&gt;hosts: files [NOTFOUND=continue UNAVAIL=return TRYAGAIN=return] dns&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Also take a look at /etc/resolv.conf.&lt;BR /&gt;should be something like &lt;BR /&gt;&lt;BR /&gt;domain yourdomain.net&lt;BR /&gt;nameserver xx.xx.xx.xx&lt;BR /&gt;nameserver xx.xx.xx.xx&lt;BR /&gt;&lt;BR /&gt;xx.xx.xx.xx being the ip of your nameserver.&lt;BR /&gt; &lt;BR /&gt;Here is a link for a doc on that&lt;BR /&gt;&lt;A href="http://docs.hp.com/hpux/onlinedocs/B2355-90685/B2355-90685.html" target="_blank"&gt;http://docs.hp.com/hpux/onlinedocs/B2355-90685/B2355-90685.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Good Luck&lt;BR /&gt;Richard&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 27 Feb 2003 20:13:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-dns-issues/m-p/2914978#M933896</guid>
      <dc:creator>someone_4</dc:creator>
      <dc:date>2003-02-27T20:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail DNS issues</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-dns-issues/m-p/2914979#M933897</link>
      <description>Based on your update you might want to look at your sendmail.cf and take out any DS directives.&lt;BR /&gt;&lt;BR /&gt;If the machine resolves hosts correctly then sendmail should.&lt;BR /&gt;&lt;BR /&gt;I think you need to follow the advice and make sure nsswitch.conf is standardized and tries dns first.&lt;BR /&gt;&lt;BR /&gt;But it should already, based on your results.&lt;BR /&gt;&lt;BR /&gt;when you run nslookup yahoo.com&lt;BR /&gt;&lt;BR /&gt;the utilty indicates whether the answer came from dns or files.&lt;BR /&gt;&lt;BR /&gt;Can you verify your answers are coming from DNS?&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;Quite a situation.&lt;BR /&gt;&lt;BR /&gt;Hmmm. Network congestion. my pea brain molecules activate.&lt;BR /&gt;&lt;BR /&gt;Ping those ISP servers and see if there are delays when congestion is heavy and your mail doesn't go through.&lt;BR /&gt;&lt;BR /&gt;traceroute to them and look for long delays our timeouts in the hop.  This could indicate wire, congestion our router ios problems.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 27 Feb 2003 21:35:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-dns-issues/m-p/2914979#M933897</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-02-27T21:35:26Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail DNS issues</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-dns-issues/m-p/2914980#M933898</link>
      <description>All,&lt;BR /&gt;&lt;BR /&gt;Thanks again for the quick replys...&lt;BR /&gt;&lt;BR /&gt;I changed the nsswitch.conf and we'll see where that takes us.  My previous entry in it was &lt;BR /&gt;#hosts: files [NOTFOUND=continue UNAVAIL=return TRYAGAIN=continue] dns&lt;BR /&gt;&lt;BR /&gt;I'll look at that document you referenced and check if the TRYAGAIN=continue would have caused failures.&lt;BR /&gt;&lt;BR /&gt;As far as the traceroutes go, i never even thought of that.  If I can prove that the ISP's resolvers stink as bad as we suspect, thats a good case for BIND.  I do have to wait for an outage window to get over there.  DMZ and they had turned off ping/traceroute/etc to it :(&lt;BR /&gt;&lt;BR /&gt;Here is another instance that i notice..&lt;BR /&gt;&lt;BR /&gt;in hosts I have internal.server.com and i still get 1 out of 5 going to internal.server.com as a dns failure even though it does a correct nslookup for me.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance!!!&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 28 Feb 2003 13:43:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-dns-issues/m-p/2914980#M933898</guid>
      <dc:creator>James Stenglein</dc:creator>
      <dc:date>2003-02-28T13:43:50Z</dc:date>
    </item>
  </channel>
</rss>

