<?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: configuring DNS in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/configuring-dns/m-p/3497284#M215985</link>
    <description>Hi Shankar,&lt;BR /&gt;&lt;BR /&gt;Check this doc.&lt;BR /&gt;&lt;BR /&gt;Document description: How to configure a DNS primary server,secondary server and client&lt;BR /&gt;Document id: HONCIKKBRC00000042&lt;BR /&gt;&lt;BR /&gt;US&lt;BR /&gt;&lt;A href="http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000062972401" target="_blank"&gt;http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000062972401&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Europe&lt;BR /&gt;&lt;A href="http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000062972401" target="_blank"&gt;http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000062972401&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Robert-Jan</description>
    <pubDate>Thu, 03 Mar 2005 14:13:57 GMT</pubDate>
    <dc:creator>Robert-Jan Goossens</dc:creator>
    <dc:date>2005-03-03T14:13:57Z</dc:date>
    <item>
      <title>configuring DNS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/configuring-dns/m-p/3497283#M215984</link>
      <description>hi all,&lt;BR /&gt;&lt;BR /&gt;I need a clearcut procedure for configuring DNS in HPUX 11.x.Assume the names of server in ur own..&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;shankar&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Mar 2005 14:05:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/configuring-dns/m-p/3497283#M215984</guid>
      <dc:creator>Shankar_6</dc:creator>
      <dc:date>2005-03-03T14:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: configuring DNS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/configuring-dns/m-p/3497284#M215985</link>
      <description>Hi Shankar,&lt;BR /&gt;&lt;BR /&gt;Check this doc.&lt;BR /&gt;&lt;BR /&gt;Document description: How to configure a DNS primary server,secondary server and client&lt;BR /&gt;Document id: HONCIKKBRC00000042&lt;BR /&gt;&lt;BR /&gt;US&lt;BR /&gt;&lt;A href="http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000062972401" target="_blank"&gt;http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000062972401&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Europe&lt;BR /&gt;&lt;A href="http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000062972401" target="_blank"&gt;http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000062972401&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Thu, 03 Mar 2005 14:13:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/configuring-dns/m-p/3497284#M215985</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2005-03-03T14:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: configuring DNS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/configuring-dns/m-p/3497285#M215986</link>
      <description>There are two files to be modified&lt;BR /&gt;&lt;BR /&gt;1. /etc/nsswitch.conf&lt;BR /&gt;2. /etc/resolv.conf&lt;BR /&gt;&lt;BR /&gt;1. /etc/nsswitch.conf - make sure you add the following entry for "hosts"&lt;BR /&gt;&lt;BR /&gt;hosts:  files [NOTFOUND=continue] dns [NOTFOUND=return]&lt;BR /&gt;&lt;BR /&gt;2. /etc/resolv.conf should look like the following:&lt;BR /&gt;&lt;BR /&gt;domain yourdomain.com&lt;BR /&gt;nameserver nameserver1 (IP address of Primary DNS server)&lt;BR /&gt;nameserver nameserver2 (IP address of Secondary DNS server)&lt;BR /&gt;&lt;BR /&gt;That should be about all. Make sure you can ping the DNS servers so that you can query them. To test it type "nslookup hostname", if the entry is not in your /etc/hosts file, it should get resolved by the DNS server and give you an answer.&lt;BR /&gt;&lt;BR /&gt;-Shekar</description>
      <pubDate>Thu, 03 Mar 2005 14:17:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/configuring-dns/m-p/3497285#M215986</guid>
      <dc:creator>Rajasekhar Raman</dc:creator>
      <dc:date>2005-03-03T14:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: configuring DNS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/configuring-dns/m-p/3497286#M215987</link>
      <description>Hi Shankar,&lt;BR /&gt;&lt;BR /&gt;Take a look at this doc:&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B2355-90775/ch02.html" target="_blank"&gt;http://docs.hp.com/en/B2355-90775/ch02.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;HTH.&lt;BR /&gt;Regards,&lt;BR /&gt;Sri Ram</description>
      <pubDate>Fri, 04 Mar 2005 00:35:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/configuring-dns/m-p/3497286#M215987</guid>
      <dc:creator>R. Sri Ram Kishore_1</dc:creator>
      <dc:date>2005-03-04T00:35:47Z</dc:date>
    </item>
    <item>
      <title>Re: configuring DNS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/configuring-dns/m-p/3497287#M215988</link>
      <description>&lt;A href="http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;admit=-682735245+1109916339564+28353475&amp;amp;docId=200000062972401" target="_blank"&gt;http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;admit=-682735245+1109916339564+28353475&amp;amp;docId=200000062972401&lt;/A&gt;</description>
      <pubDate>Fri, 04 Mar 2005 01:06:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/configuring-dns/m-p/3497287#M215988</guid>
      <dc:creator>Ravi_8</dc:creator>
      <dc:date>2005-03-04T01:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: configuring DNS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/configuring-dns/m-p/3497288#M215989</link>
      <description>Hi Shankar,&lt;BR /&gt;&lt;BR /&gt;I hope the following could be useful to you.&lt;BR /&gt;&lt;BR /&gt;     Configuring DNS&lt;BR /&gt;   ====================&lt;BR /&gt;&lt;BR /&gt;I.Configure your Master DNS:-&lt;BR /&gt;============================&lt;BR /&gt;&lt;BR /&gt;1 Delete all entries from /etc/hosts except local host entry and hosts in your domain.&lt;BR /&gt; Put FQDN for all hosts.See the example for a server called syam&lt;BR /&gt; &lt;BR /&gt;#vi /etc/hosts&lt;BR /&gt;127.0.0.1 localhost&lt;BR /&gt;128.1.1.1 syam.india.mum.com syam&lt;BR /&gt;128.1.1.2 syam2.india.mum.com syam1&lt;BR /&gt;128.1.1.3 test.india.mum.com test&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;2 Create a directory for the DNS database file and cd to it&lt;BR /&gt;&lt;BR /&gt;#mkdir /etc/named.data&lt;BR /&gt;#chmod 755 /etc/named.data&lt;BR /&gt;#cd /etc/named.data&lt;BR /&gt;&lt;BR /&gt;3. Create a param file for your domain&lt;BR /&gt;&lt;BR /&gt;#vi param&lt;BR /&gt;&lt;BR /&gt; -d syam.india.mum.com # Use your domain name(s) here&lt;BR /&gt; -n 128.1.1   # Use your subnet address(es) here&lt;BR /&gt; -z 128.1.1.1  # Use your master server's IP here&lt;BR /&gt; -b /etc/named.conf&lt;BR /&gt;&lt;BR /&gt;4. Run hosts_to_named&lt;BR /&gt;&lt;BR /&gt;#hosts_to_named -f param&lt;BR /&gt;&lt;BR /&gt;5. Download db.cache to the current dir.&lt;BR /&gt;&lt;BR /&gt;6. Enable NAMED in the /etc/rc.config.d/namesvrs&lt;BR /&gt;&lt;BR /&gt;#vi /etc/rc.config.d/namesvrs&lt;BR /&gt;&lt;BR /&gt;NAMED=1&lt;BR /&gt;NAMED_AGRS=""&lt;BR /&gt;&lt;BR /&gt;7. Start the named daemon&lt;BR /&gt;&lt;BR /&gt;#/sbin/init.d/named start&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;II. Configuring Slave DNS:-&lt;BR /&gt;===============================&lt;BR /&gt;&lt;BR /&gt;1. Create a directory for the DNS database file and cd to it&lt;BR /&gt;&lt;BR /&gt;#mkdir /etc/named.data&lt;BR /&gt;#chmod 755 /etc/named.data&lt;BR /&gt;#cd /etc/named.data&lt;BR /&gt;&lt;BR /&gt;2. FTP copies the db.* files from the master DNS.&lt;BR /&gt;&lt;BR /&gt;#ftp 128.1.1.1 # Use your master DNS Server's IP Here&lt;BR /&gt;&amp;gt;mget /etc/named.data/db.*&lt;BR /&gt;&amp;gt;bye&lt;BR /&gt;&lt;BR /&gt;3. FTP a copy of conf.sec.save from the master DNS server and move it into place on the slave server as /etc/named.conf&lt;BR /&gt;&lt;BR /&gt;#ftp 128.1.1.1  # Use your Master DNS IP here.&lt;BR /&gt;&amp;gt;get /etc/named.data/conf.sec.save&lt;BR /&gt;&amp;gt;bye&lt;BR /&gt;&lt;BR /&gt;#mv /etc/named.data/conf.sec.save /etc/named.conf&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;4. Enable NAMED in the /etc/rc.config.d/namesvrs&lt;BR /&gt;&lt;BR /&gt;#vi /etc/rc.config.d/namesvrs&lt;BR /&gt;NAMED=1&lt;BR /&gt;NAMED_ARGS=""&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;5. Start the named daemon&lt;BR /&gt;&lt;BR /&gt;#/sbin/init.d/named start&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;III. Configure the DNS clients;-&lt;BR /&gt;==================================&lt;BR /&gt;&lt;BR /&gt;1. Modify the resolver file. Include the DNS IPs in the search list.Include both Master and mSlave server in the namesservers list.&lt;BR /&gt;&lt;BR /&gt;#vi /etc/resolve.conf&lt;BR /&gt;&lt;BR /&gt; search xyz.india.mum.com # replace this with your domain name&lt;BR /&gt; nameservers 128.1.1.1 # Replace 128.1.1.1 with your Master DNS IP&lt;BR /&gt; nameservers 128.1.1.2 # Replace 128.1.1.2 with your Slave DNS IP &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;2. If your /etc/nsswitch.conf exists, delete it. You can experiment with the default behaviour for now. &lt;BR /&gt;&lt;BR /&gt;#mv /etc/nsswitch.conf /etc/nsswitch.conf.orig&lt;BR /&gt;3. Slave DNS and Clients need to modify /etc/hosts at this time.&lt;BR /&gt;&lt;BR /&gt;#vi /etc/hosts&lt;BR /&gt;&lt;BR /&gt; 127.0.0.1 localhost&lt;BR /&gt; 128.1.1.3 test.india.mum.com test&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Syam</description>
      <pubDate>Fri, 04 Mar 2005 01:46:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/configuring-dns/m-p/3497288#M215989</guid>
      <dc:creator>Ranjith_5</dc:creator>
      <dc:date>2005-03-04T01:46:50Z</dc:date>
    </item>
  </channel>
</rss>

