<?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: DNS lookup's going to old nameserver after changing /etc/resolv.conf in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/dns-lookup-s-going-to-old-nameserver-after-changing-etc-resolv/m-p/3603555#M233286</link>
    <description>Most programs that use DNS will do so using a name resolver functions in a library provided by the OS.&lt;BR /&gt;&lt;BR /&gt;When the application starts, it will load and initialize the library with the resolver functions if it needs DNS. Reading /etc/nsswitch.conf and /etc/resolv.conf is one part of the initialization code of that library.&lt;BR /&gt;&lt;BR /&gt;This means most programs will read /etc/resolv.conf only at the point when they're starting up. To activate the new settings, you must stop and restart the application.</description>
    <pubDate>Mon, 15 Aug 2005 09:34:01 GMT</pubDate>
    <dc:creator>Matti_Kurkela</dc:creator>
    <dc:date>2005-08-15T09:34:01Z</dc:date>
    <item>
      <title>DNS lookup's going to old nameserver after changing /etc/resolv.conf</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dns-lookup-s-going-to-old-nameserver-after-changing-etc-resolv/m-p/3603550#M233281</link>
      <description>Hi all,&lt;BR /&gt;We have recently replaced a couple of old DNS nameservers in our network, but after having updated the /etc/resolv.conf file on this particular server, with the details of the new DNS nameservers, we still find that DNS queries are being sent to the old nameservers. &lt;BR /&gt;My problem is that I am unsure of the effect on this server when the old nameservers are switched off. &lt;BR /&gt;In an attempt to resolve this I have tried a SIGHUP of inetd, but still have the same problem. &lt;BR /&gt;I would prefer to avoid a complete server restart if possible, so would be interested in any suggestions on how to resolve this problem.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Dave</description>
      <pubDate>Sun, 14 Aug 2005 23:25:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dns-lookup-s-going-to-old-nameserver-after-changing-etc-resolv/m-p/3603550#M233281</guid>
      <dc:creator>David Manson</dc:creator>
      <dc:date>2005-08-14T23:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: DNS lookup's going to old nameserver after changing /etc/resolv.conf</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dns-lookup-s-going-to-old-nameserver-after-changing-etc-resolv/m-p/3603551#M233282</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;since u have restarted inetd but the same problem persists.&lt;BR /&gt;&lt;BR /&gt;have u confirm that amendment made to /etc/resolv.conf is correct or would u like to post it here?&lt;BR /&gt;&lt;BR /&gt;regards.</description>
      <pubDate>Mon, 15 Aug 2005 00:42:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dns-lookup-s-going-to-old-nameserver-after-changing-etc-resolv/m-p/3603551#M233282</guid>
      <dc:creator>Joseph Loo</dc:creator>
      <dc:date>2005-08-15T00:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: DNS lookup's going to old nameserver after changing /etc/resolv.conf</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dns-lookup-s-going-to-old-nameserver-after-changing-etc-resolv/m-p/3603552#M233283</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;on windows clients, you can try to run: ipconfig /flushdns&lt;BR /&gt;&lt;BR /&gt;on the hp-ux server, i don't know if something similar exists!&lt;BR /&gt;&lt;BR /&gt;can you try to run nslookup and see what is really happening?&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;yogeeraj&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Aug 2005 00:51:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dns-lookup-s-going-to-old-nameserver-after-changing-etc-resolv/m-p/3603552#M233283</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2005-08-15T00:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: DNS lookup's going to old nameserver after changing /etc/resolv.conf</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dns-lookup-s-going-to-old-nameserver-after-changing-etc-resolv/m-p/3603553#M233284</link>
      <description>Hi,&lt;BR /&gt;Post the content of /etc/resolv.conf and /etc/nsswitch.conf&lt;BR /&gt;If names are used /etc/hosts needed.&lt;BR /&gt;How did you conclude the server is still looking at the old DNS server?&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;TT</description>
      <pubDate>Mon, 15 Aug 2005 01:02:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dns-lookup-s-going-to-old-nameserver-after-changing-etc-resolv/m-p/3603553#M233284</guid>
      <dc:creator>Thayanidhi</dc:creator>
      <dc:date>2005-08-15T01:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: DNS lookup's going to old nameserver after changing /etc/resolv.conf</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dns-lookup-s-going-to-old-nameserver-after-changing-etc-resolv/m-p/3603554#M233285</link>
      <description>When testing DNS servers, use the explicit server option in nslookup, something like this:&lt;BR /&gt; &lt;BR /&gt;nslookup &lt;A href="http://www.hp.com" target="_blank"&gt;www.hp.com&lt;/A&gt; 12.34.56.78&lt;BR /&gt; &lt;BR /&gt;where 12.34.56.78 is the specific nameserver to query. Then use nslookup without the 12.34.56.78 server and it should report the same results. However, the actual behavior of resolving hostnames depends on /etc/nsswitch.conf and often needs to be changed.</description>
      <pubDate>Mon, 15 Aug 2005 09:31:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dns-lookup-s-going-to-old-nameserver-after-changing-etc-resolv/m-p/3603554#M233285</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-08-15T09:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: DNS lookup's going to old nameserver after changing /etc/resolv.conf</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dns-lookup-s-going-to-old-nameserver-after-changing-etc-resolv/m-p/3603555#M233286</link>
      <description>Most programs that use DNS will do so using a name resolver functions in a library provided by the OS.&lt;BR /&gt;&lt;BR /&gt;When the application starts, it will load and initialize the library with the resolver functions if it needs DNS. Reading /etc/nsswitch.conf and /etc/resolv.conf is one part of the initialization code of that library.&lt;BR /&gt;&lt;BR /&gt;This means most programs will read /etc/resolv.conf only at the point when they're starting up. To activate the new settings, you must stop and restart the application.</description>
      <pubDate>Mon, 15 Aug 2005 09:34:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dns-lookup-s-going-to-old-nameserver-after-changing-etc-resolv/m-p/3603555#M233286</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2005-08-15T09:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: DNS lookup's going to old nameserver after changing /etc/resolv.conf</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dns-lookup-s-going-to-old-nameserver-after-changing-etc-resolv/m-p/3603556#M233287</link>
      <description>Thanks for all the replies.&lt;BR /&gt;&lt;BR /&gt;In answer to your questions ...&lt;BR /&gt;&lt;BR /&gt;The amendment made to /etc/resolv.conf is correct (same used across many other servers).&lt;BR /&gt;&lt;BR /&gt;nslookup is resolving correctly ... it appears to be a running process that is still querying the old nameserver.&lt;BR /&gt;&lt;BR /&gt;Our network team records all IP's querying this 'old' nameserver, which is how I can identify this particular server.&lt;BR /&gt;&lt;BR /&gt;I will try Matti's suggestion and stop and restart the applications on this server. &lt;BR /&gt;&lt;BR /&gt;Thanks again.&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Aug 2005 16:57:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dns-lookup-s-going-to-old-nameserver-after-changing-etc-resolv/m-p/3603556#M233287</guid>
      <dc:creator>David Manson</dc:creator>
      <dc:date>2005-08-15T16:57:26Z</dc:date>
    </item>
    <item>
      <title>Re: DNS lookup's going to old nameserver after changing /etc/resolv.conf</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dns-lookup-s-going-to-old-nameserver-after-changing-etc-resolv/m-p/3603557#M233288</link>
      <description>Dave,&lt;BR /&gt;&lt;BR /&gt;did you check that none of the apps was caching DNS entries?  Also could it be that your box is running as a name caching server.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Aug 2005 09:48:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dns-lookup-s-going-to-old-nameserver-after-changing-etc-resolv/m-p/3603557#M233288</guid>
      <dc:creator>Mike Duffy_1</dc:creator>
      <dc:date>2005-08-18T09:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: DNS lookup's going to old nameserver after changing /etc/resolv.conf</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dns-lookup-s-going-to-old-nameserver-after-changing-etc-resolv/m-p/3603558#M233289</link>
      <description>hmmm....&lt;BR /&gt;&lt;BR /&gt;..well fixing your /etc/resolv.conf is something you should have done.&lt;BR /&gt;&lt;BR /&gt;I'm no DNS expert...but on ours we have to fix the master DNS configuration file when we remove or change DNS servers - and then we have to run the command to rebuild DNS from the hostfile (with the new host info now added) ??&lt;BR /&gt;&lt;BR /&gt;Just a thought,&lt;BR /&gt;Rita&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Aug 2005 10:11:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dns-lookup-s-going-to-old-nameserver-after-changing-etc-resolv/m-p/3603558#M233289</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2005-08-18T10:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: DNS lookup's going to old nameserver after changing /etc/resolv.conf</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dns-lookup-s-going-to-old-nameserver-after-changing-etc-resolv/m-p/3603559#M233290</link>
      <description>Dave,&lt;BR /&gt;&lt;BR /&gt;Just a dumb question.  Is this host a named server ? or client ?&lt;BR /&gt;&lt;BR /&gt;All changes I have ever made to a client in the resolv.conf file are immediate (hence the name Dynamic Named Service).&lt;BR /&gt;&lt;BR /&gt;nslookup &lt;BR /&gt;&amp;gt; server localhost&lt;BR /&gt;&amp;gt; set swtrace&lt;BR /&gt;&amp;gt; set debug&lt;BR /&gt;&amp;gt; host_to_look_up&lt;BR /&gt;&lt;BR /&gt;The output from the above may help troubleshoot.&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Aug 2005 13:10:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dns-lookup-s-going-to-old-nameserver-after-changing-etc-resolv/m-p/3603559#M233290</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2005-08-18T13:10:12Z</dc:date>
    </item>
    <item>
      <title>Re: DNS lookup's going to old nameserver after changing /etc/resolv.conf</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dns-lookup-s-going-to-old-nameserver-after-changing-etc-resolv/m-p/3603560#M233291</link>
      <description>Thankyou all for your replies and suggestions.&lt;BR /&gt;&lt;BR /&gt;I have resolved this problem by restarting the server. It is now issuing queries to the new nameservers.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;Dave&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Aug 2005 16:45:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dns-lookup-s-going-to-old-nameserver-after-changing-etc-resolv/m-p/3603560#M233291</guid>
      <dc:creator>David Manson</dc:creator>
      <dc:date>2005-08-18T16:45:51Z</dc:date>
    </item>
  </channel>
</rss>

