<?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 Setup in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/dns-setup/m-p/3538268#M222685</link>
    <description>&lt;BR /&gt;You probably need to edit /etc/named.conf and add the external dns servers.&lt;BR /&gt;&lt;BR /&gt;The Z thing, could it be sendmail.cf ??&lt;BR /&gt;&lt;BR /&gt;Do you need to add MX records?&lt;BR /&gt;&lt;BR /&gt;Was your previous DNS server an HPux box?&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry d brown jr</description>
    <pubDate>Thu, 05 May 2005 06:13:19 GMT</pubDate>
    <dc:creator>harry d brown jr</dc:creator>
    <dc:date>2005-05-05T06:13:19Z</dc:date>
    <item>
      <title>DNS Setup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dns-setup/m-p/3538267#M222684</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;I have been stewing over configuring DNS for the past few days looking at different HP Documents that show differences, to try and pick out the technical info I need.&lt;BR /&gt;&lt;BR /&gt;Im off to DR and I need to get DNS running at the end of the DR to aid connectivaty from other servers. I only need to get one master going but IP addresses have been changed on all servers. 128.1.12.n. I think all I need to do is..................&lt;BR /&gt;&lt;BR /&gt;Have an up to date /etc/hosts file with all IP's&lt;BR /&gt;&lt;BR /&gt;mkdir /etc/named.data&lt;BR /&gt;(As it was excluded in the restore)&lt;BR /&gt;&lt;BR /&gt;cd /etc/named.data&lt;BR /&gt;&lt;BR /&gt;hosts_to_named -d joe.blogs.com -n 128.1.12.&lt;BR /&gt;&lt;BR /&gt;(Creates db files -h host is default)&lt;BR /&gt;&lt;BR /&gt;I remember having to edit a file and add a . at the end of the line, and editing another file and adding a Z&lt;BR /&gt;&lt;BR /&gt;I moved a file into /etc &lt;BR /&gt;&lt;BR /&gt;Can someone please clarify the currect chain of events that I need to do for this.&lt;BR /&gt;&lt;BR /&gt;Ta&lt;BR /&gt;&lt;BR /&gt;Rich&lt;BR /&gt;&lt;BR /&gt;I will give loads of points</description>
      <pubDate>Thu, 05 May 2005 06:00:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dns-setup/m-p/3538267#M222684</guid>
      <dc:creator>Richard Ace</dc:creator>
      <dc:date>2005-05-05T06:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: DNS Setup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dns-setup/m-p/3538268#M222685</link>
      <description>&lt;BR /&gt;You probably need to edit /etc/named.conf and add the external dns servers.&lt;BR /&gt;&lt;BR /&gt;The Z thing, could it be sendmail.cf ??&lt;BR /&gt;&lt;BR /&gt;Do you need to add MX records?&lt;BR /&gt;&lt;BR /&gt;Was your previous DNS server an HPux box?&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry d brown jr</description>
      <pubDate>Thu, 05 May 2005 06:13:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dns-setup/m-p/3538268#M222685</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2005-05-05T06:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: DNS Setup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dns-setup/m-p/3538269#M222686</link>
      <description>Hello Richard,&lt;BR /&gt;&lt;BR /&gt;I really do not rely too much in the host_to_named scritps . I always prefer to create a simple /etc/named.conf file . In this file you define you zones . If this is your first DNS server probably you will be the root server of your organization.&lt;BR /&gt;&lt;BR /&gt;An example of root server:&lt;BR /&gt;&lt;BR /&gt;Dartanan:/etc/rc.config.d&amp;gt; more /etc/named.conf&lt;BR /&gt;&lt;BR /&gt;options {&lt;BR /&gt;        directory "/etc/named.data";&lt;BR /&gt;        pid-file "/var/run/named.pid";&lt;BR /&gt;&lt;BR /&gt;};&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;// Root de intranet&lt;BR /&gt;&lt;BR /&gt;zone "." {&lt;BR /&gt;        type master;&lt;BR /&gt;        file "db.root";&lt;BR /&gt;};&lt;BR /&gt;&lt;BR /&gt;// Zona loop-back&lt;BR /&gt;&lt;BR /&gt;zone "0.0.127.in-addr.arpa" {&lt;BR /&gt;        type master;&lt;BR /&gt;        file "db.127.0.0";&lt;BR /&gt;};&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;// Zonas para las que el servidor es maestro&lt;BR /&gt;&lt;BR /&gt;//      Resolucion Directa&lt;BR /&gt;&lt;BR /&gt;zone "sate2.com" {&lt;BR /&gt;        type master;&lt;BR /&gt;        file "db.sate2.com";&lt;BR /&gt;};&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Once you have defined this you just have to add create the db.root and and db for your zones ..&lt;BR /&gt;Remmember that the /etc/nsswitch.conf must be configured if you want that your server uses the DNS server .&lt;BR /&gt;The nslookup and teh syslog command can help you to troubleshoot the DNS&lt;BR /&gt;Be very careful with the tabs while you are typing the file.&lt;BR /&gt;&lt;BR /&gt;Dartanan:/etc/named.data&amp;gt; more db.root&lt;BR /&gt;$TTL 10d&lt;BR /&gt;@       IN      SOA     dartanan.sate2.com. root.dartanan.sate2.com. (&lt;BR /&gt;                              2005011601      ; Serial&lt;BR /&gt;                              10800           ; Refresh every 3 hours&lt;BR /&gt;                              3600            ; Retry every hour&lt;BR /&gt;                              604800          ; Expire after a week&lt;BR /&gt;                              86400 )         ; Minimum ttl of 1 day&lt;BR /&gt;&lt;BR /&gt;sate2.com.              IN     NS               dartanan.sate2.com.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Dartanan:/etc/named.data&amp;gt; more db.127.0.0&lt;BR /&gt;$TTL 10d&lt;BR /&gt;@       IN      SOA     dartanan.sate2.com. root.dartanan.sate2.com. (&lt;BR /&gt;                                2004021701      ; Serial&lt;BR /&gt;                                10800   ; Refresh every 3 hours&lt;BR /&gt;                                3600    ; Retry every hour&lt;BR /&gt;                                604800  ; Expire after a week&lt;BR /&gt;                                86400 ) ; Minimum ttl of 1 day&lt;BR /&gt;                NS      dartanan.sate2.com.&lt;BR /&gt;1       IN      PTR     dartanan.sate2.com.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Dartanan:/etc/named.data&amp;gt; more db.sate2.com&lt;BR /&gt;$TTL 10d&lt;BR /&gt;sate2.com.  IN  SOA     dartanan.sate2.com. root.dartanan.sate2.com. (&lt;BR /&gt;                                2005041301      ; Serial&lt;BR /&gt;                                10800           ; Refresh every 3 hours&lt;BR /&gt;                                3600            ; Retry every hour&lt;BR /&gt;                                604800          ; Expire after a week&lt;BR /&gt;                                86400 )         ; Negative Caching TTL&lt;BR /&gt;&lt;BR /&gt;                NS      dartanan.sate2.com.&lt;BR /&gt;                NS      aramis.sate2.com.&lt;BR /&gt;&lt;BR /&gt;tierra.win.sate2.com    IN      A       174.1.10.10&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$ORIGIN sate2.com.&lt;BR /&gt;dartanan        IN      A       174.1.51.11&lt;BR /&gt;aramis          IN      A       174.1.51.22&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Dartanan:/etc/named.data&amp;gt; more /etc/nsswitch.conf&lt;BR /&gt;#&lt;BR /&gt;# /etc/nsswitch.hp_defaults:&lt;BR /&gt;#&lt;BR /&gt;# @(#)B.11.11_LR&lt;BR /&gt;#&lt;BR /&gt;# An example file that could be copied over to /etc/nsswitch.conf; it&lt;BR /&gt;# uses NIS (YP) in conjunction with files.&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;hosts:        dns [NOTFOUND=continue] files [NOTFOUND=return]&lt;BR /&gt;&lt;BR /&gt;Hope this helps ...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 05 May 2005 06:14:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dns-setup/m-p/3538269#M222686</guid>
      <dc:creator>jpcast_real</dc:creator>
      <dc:date>2005-05-05T06:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: DNS Setup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dns-setup/m-p/3538270#M222687</link>
      <description>Rich,&lt;BR /&gt;&lt;BR /&gt;Miscellaneous extracts from my DNS notes:&lt;BR /&gt;&lt;BR /&gt;1.  Clients will need /etc/resolv.conf files &lt;BR /&gt;domain joeblogs.com&lt;BR /&gt;nameserver 128.1.12.__&lt;BR /&gt;&lt;BR /&gt;- and -&lt;BR /&gt;&lt;BR /&gt;/etc/nsswitch.conf&lt;BR /&gt;&lt;BR /&gt;2.  Server also needs resolv.conf - nsswitch.conf is irrelevant&lt;BR /&gt;&lt;BR /&gt;3.  Setup the name server:&lt;BR /&gt;mkdir /etc/named.data&lt;BR /&gt;cd /etc/named.data&lt;BR /&gt;/usr/sbin/hosts_to_named -d joe.blogs.com -n 128.1.12.&lt;BR /&gt;mv /etc/named.data/named.boot /etc/named.boot&lt;BR /&gt;update the /etc/named.data/db.cache file with further root name servers&lt;BR /&gt;&lt;BR /&gt;4.  Start the name server daemon:&lt;BR /&gt;set "NAMED=1" in /etc/rc.config.d/namesvrs&lt;BR /&gt;/sbin/init.d/named start&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;That's it.  I don't have anything about adding a . or a Z anywhere.&lt;BR /&gt;&lt;BR /&gt;By the way, you can also use SAM.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 05 May 2005 06:20:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dns-setup/m-p/3538270#M222687</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2005-05-05T06:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: DNS Setup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dns-setup/m-p/3538271#M222688</link>
      <description>&lt;BR /&gt;Thanks all. Especially Pete&lt;BR /&gt;&lt;BR /&gt;I have noted all you input.&lt;BR /&gt;&lt;BR /&gt;-Z is for the /etc/named.data/param file&lt;BR /&gt;&lt;BR /&gt;Just found out.&lt;BR /&gt;&lt;BR /&gt;My sever will be the main DNS server with only one domain joe.blogs.com 128.1.12.95&lt;BR /&gt;&lt;BR /&gt;The other servers that need my servers DNS up and running are AIX etc...&lt;BR /&gt;&lt;BR /&gt;Because my HP box is the DNS Master they want it running in the DR so its only 1 zone.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Just a quick one you say update db.cache with further root servers. I presume I dont need to do this in my case as this will be the only server and its a master(DNS Server).&lt;BR /&gt;&lt;BR /&gt;And.... in the db.cache do I need my DNS Server as an entry in it or does it get populated via the hosts_to_named. &lt;BR /&gt;&lt;BR /&gt;Ta&lt;BR /&gt;&lt;BR /&gt;Rich&lt;BR /&gt;</description>
      <pubDate>Thu, 05 May 2005 06:57:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dns-setup/m-p/3538271#M222688</guid>
      <dc:creator>Richard Ace</dc:creator>
      <dc:date>2005-05-05T06:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: DNS Setup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dns-setup/m-p/3538272#M222689</link>
      <description>Rich,&lt;BR /&gt;&lt;BR /&gt;The further root name servers would be for external resolution.  &lt;BR /&gt;&lt;BR /&gt;From my notes:&lt;BR /&gt;&lt;BR /&gt;"The cache file, /etc/named.data/db.cache, lists the servers for the root domain.  Every name server must have a cache file.  When a name server cannot resolve a host name query from its local database or its local cache, it queries a root server.&lt;BR /&gt;&lt;BR /&gt;The hosts_to_named program creates the db.cache file, but it leaves it empty.  To add data to this file, copy it from the file /usr/examples/bind/db.cache.arpa."&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 05 May 2005 07:09:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dns-setup/m-p/3538272#M222689</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2005-05-05T07:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: DNS Setup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dns-setup/m-p/3538273#M222690</link>
      <description>Thanks for all your help&lt;BR /&gt;&lt;BR /&gt;Rich&lt;BR /&gt;&lt;BR /&gt;No doubt I will call again in the future.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 05 May 2005 07:13:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dns-setup/m-p/3538273#M222690</guid>
      <dc:creator>Richard Ace</dc:creator>
      <dc:date>2005-05-05T07:13:42Z</dc:date>
    </item>
  </channel>
</rss>

