<?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 Server Change in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/dns-server-change/m-p/3844304#M545748</link>
    <description>Unless things have changed, a process only reads /etc/resolv.conf once - the first time it makes a call such as gethostbyname() or if it is properly up-to-date getaddrinfo().  So, long-lived processes need to be restarted to see changes in /etc/resolv.conf.&lt;BR /&gt;&lt;BR /&gt;You can confirm or deny this with a small test program that makes gethostbyname() calls in a loop with some sleep() in between.  Tusc that application, and IIRC you will see it open /etc/resolv.conf only once and not stat() or otherwise check for changes.</description>
    <pubDate>Wed, 16 Aug 2006 19:36:09 GMT</pubDate>
    <dc:creator>rick jones</dc:creator>
    <dc:date>2006-08-16T19:36:09Z</dc:date>
    <item>
      <title>DNS Server Change</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dns-server-change/m-p/3844295#M545739</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;We have 5 HPUX boxes running 11.23 hosting Oracle 9.2 and SAP R3 4.7&lt;BR /&gt;&lt;BR /&gt;I need to change the servers to point at new DNS servers, everything should be configured on the DNS side and I know how to change through SAM to point at different DNS servers but is there anything I should watch out for?&lt;BR /&gt;&lt;BR /&gt;Do I need to shutdown oracle or anything?&lt;BR /&gt;&lt;BR /&gt;Two servers are part of a serviceguard cluster so is there anything I need to be wary of here.&lt;BR /&gt;&lt;BR /&gt;Can the change be made on the fly?&lt;BR /&gt;&lt;BR /&gt;Chad</description>
      <pubDate>Wed, 16 Aug 2006 04:26:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dns-server-change/m-p/3844295#M545739</guid>
      <dc:creator>Chad Brindley</dc:creator>
      <dc:date>2006-08-16T04:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: DNS Server Change</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dns-server-change/m-p/3844296#M545740</link>
      <description>Assuming that the new DNS server(s) will respond to the queries with the same information as the old one(s) you need not worry.&lt;BR /&gt;&lt;BR /&gt;Actually you can just edit /etc/resolv.conf using vi.&lt;BR /&gt;&lt;BR /&gt;I always advise you to put very crucial information (such as the names of the servers in the cluster) to the /etc/hosts files, just in case the DNS server(s) become unavailable.</description>
      <pubDate>Wed, 16 Aug 2006 04:42:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dns-server-change/m-p/3844296#M545740</guid>
      <dc:creator>Fedon Kadifeli</dc:creator>
      <dc:date>2006-08-16T04:42:08Z</dc:date>
    </item>
    <item>
      <title>Re: DNS Server Change</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dns-server-change/m-p/3844297#M545741</link>
      <description>Chad,&lt;BR /&gt;ideally I'd shut down any external connections and then change the order of DNS servers via SAM. But it should work on the fly.&lt;BR /&gt;Oracle would not have to be shut down.&lt;BR /&gt;After a while you can then remove your current active server entry.</description>
      <pubDate>Wed, 16 Aug 2006 04:42:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dns-server-change/m-p/3844297#M545741</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-08-16T04:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: DNS Server Change</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dns-server-change/m-p/3844298#M545742</link>
      <description>Change the order in the resolv.conf file:&lt;BR /&gt;nameserver &lt;NEW ip=""&gt;&lt;BR /&gt;nameserver &lt;OLD ip=""&gt;&lt;BR /&gt;&lt;BR /&gt;SG does use it - and the recommended way for SG is to have files first. So change nsswitch.conf:&lt;BR /&gt;hosts:        files [NOTFOUND=return] dns&lt;BR /&gt;&lt;BR /&gt;And make sure you have all hosts in your /etc/hosts file.&lt;BR /&gt;&lt;BR /&gt;10.0.0.2 server1.company.com server1&lt;BR /&gt;10.0.0.3 server2.company.com server2&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;Hope it helps!&lt;/OLD&gt;&lt;/NEW&gt;</description>
      <pubDate>Wed, 16 Aug 2006 04:56:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dns-server-change/m-p/3844298#M545742</guid>
      <dc:creator>Jannik</dc:creator>
      <dc:date>2006-08-16T04:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: DNS Server Change</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dns-server-change/m-p/3844299#M545743</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I shutdown all external connections and have added the two new DNS servers into /etc/resolv.conf commenting out the old ones for now.&lt;BR /&gt;&lt;BR /&gt;I can no longer use X-windows to logon but can telnet through command prompt. Does it mess up the display variable? if so how to fix?&lt;BR /&gt;&lt;BR /&gt;Chad</description>
      <pubDate>Wed, 16 Aug 2006 05:02:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dns-server-change/m-p/3844299#M545743</guid>
      <dc:creator>Chad Brindley</dc:creator>
      <dc:date>2006-08-16T05:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: DNS Server Change</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dns-server-change/m-p/3844300#M545744</link>
      <description>Chad,&lt;BR /&gt;is your terminal ip known to the DNSs?&lt;BR /&gt;nslookup youripaddress</description>
      <pubDate>Wed, 16 Aug 2006 05:31:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dns-server-change/m-p/3844300#M545744</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-08-16T05:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: DNS Server Change</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dns-server-change/m-p/3844301#M545745</link>
      <description>For the XWindows logon problem. Check the following:&lt;BR /&gt;&lt;BR /&gt;# grep ipnodes /etc/nsswitch.conf&lt;BR /&gt;ipnodes: files[NOTFOUND=continue UNAVAIL=continue TRYAGAIN=return] dns  &lt;BR /&gt;</description>
      <pubDate>Wed, 16 Aug 2006 05:54:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dns-server-change/m-p/3844301#M545745</guid>
      <dc:creator>Fedon Kadifeli</dc:creator>
      <dc:date>2006-08-16T05:54:43Z</dc:date>
    </item>
    <item>
      <title>Re: DNS Server Change</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dns-server-change/m-p/3844302#M545746</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;This was what I got.&lt;BR /&gt;&lt;BR /&gt;grep ipnodes /etc/nsswitch.conf&lt;BR /&gt;ipnodes: files[NOTFOUND=return UNAVAIL=continue TRYAGAIN=return] files&lt;BR /&gt;&lt;BR /&gt;Could this be a reverse DNS issue with our new DNS servers or is our switching wrong?&lt;BR /&gt;&lt;BR /&gt;I guess it should look at host table first and then if not in there use DNS.&lt;BR /&gt;&lt;BR /&gt;Chad</description>
      <pubDate>Wed, 16 Aug 2006 06:04:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dns-server-change/m-p/3844302#M545746</guid>
      <dc:creator>Chad Brindley</dc:creator>
      <dc:date>2006-08-16T06:04:57Z</dc:date>
    </item>
    <item>
      <title>Re: DNS Server Change</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dns-server-change/m-p/3844303#M545747</link>
      <description>I am not sure about this. But, once I had a similar problem and it was caused by a missing ipnodes entry in nsswitch.conf. You can try and see if fixes the problem.&lt;BR /&gt;&lt;BR /&gt;Also, after telneting to the box, check to see if the IP you are trying to connect from can be resolved. Enter&lt;BR /&gt;&lt;BR /&gt;# who am i -R&lt;BR /&gt;&lt;BR /&gt;and look in the string within parentheses.</description>
      <pubDate>Wed, 16 Aug 2006 06:32:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dns-server-change/m-p/3844303#M545747</guid>
      <dc:creator>Fedon Kadifeli</dc:creator>
      <dc:date>2006-08-16T06:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: DNS Server Change</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dns-server-change/m-p/3844304#M545748</link>
      <description>Unless things have changed, a process only reads /etc/resolv.conf once - the first time it makes a call such as gethostbyname() or if it is properly up-to-date getaddrinfo().  So, long-lived processes need to be restarted to see changes in /etc/resolv.conf.&lt;BR /&gt;&lt;BR /&gt;You can confirm or deny this with a small test program that makes gethostbyname() calls in a loop with some sleep() in between.  Tusc that application, and IIRC you will see it open /etc/resolv.conf only once and not stat() or otherwise check for changes.</description>
      <pubDate>Wed, 16 Aug 2006 19:36:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dns-server-change/m-p/3844304#M545748</guid>
      <dc:creator>rick jones</dc:creator>
      <dc:date>2006-08-16T19:36:09Z</dc:date>
    </item>
    <item>
      <title>Re: DNS Server Change</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dns-server-change/m-p/3844305#M545749</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I ahve made the DNS server changes direct in resolv.conf commenting out the old DNS servers.&lt;BR /&gt;&lt;BR /&gt;I re-booted the server to make sure there were no processes using the old servers.&lt;BR /&gt;&lt;BR /&gt;If I do an nslookup I get the errors;&lt;BR /&gt;&lt;BR /&gt;*** Can't find server name for address 10.212.16.150: Non-existent domain&lt;BR /&gt;*** Can't find server name for address 10.212.16.152: Non-existent domain&lt;BR /&gt;*** Default servers are not available&lt;BR /&gt;Using /etc/hosts on:  covbwdq&lt;BR /&gt;&lt;BR /&gt;I can then not see certain systems for example vax.vaxes.&lt;BR /&gt;&lt;BR /&gt;In nslookup if I then type server 10.212.16.150 to make sure it is using this server and type vax.vaxes it works fine.&lt;BR /&gt;&lt;BR /&gt;Do I have some sort of reverse DNS issue going on here?&lt;BR /&gt;&lt;BR /&gt;Chad&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 31 Aug 2006 10:47:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dns-server-change/m-p/3844305#M545749</guid>
      <dc:creator>Chad Brindley</dc:creator>
      <dc:date>2006-08-31T10:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: DNS Server Change</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dns-server-change/m-p/3844306#M545750</link>
      <description>Yes.  While nslookup arguably should not care if there is a PTR record for the IP of the DNS server(s) it is using, it is equally true that any well-configured DNS servers will have PTR records for their IPs.  If you get your new DNS servers fixed to have PTR records for their IPs then I suspect all will be well.&lt;BR /&gt;&lt;BR /&gt;Actually, almost all may already be well - gethostbyname and the replacement call your apps should be making - getaddrinfo - do not IIRC care about PTR records for the server's they query.  Neither do 'dig' nor 'host' one of which you might want to consider as a replacement for nslookup.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 31 Aug 2006 12:18:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dns-server-change/m-p/3844306#M545750</guid>
      <dc:creator>rick jones</dc:creator>
      <dc:date>2006-08-31T12:18:51Z</dc:date>
    </item>
  </channel>
</rss>

