<?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: setting up a dns server in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-a-dns-server/m-p/3203945#M570809</link>
    <description>Have you defined the host in /etc/hosts file?&lt;BR /&gt;&lt;BR /&gt;sks</description>
    <pubDate>Fri, 27 Feb 2004 02:36:58 GMT</pubDate>
    <dc:creator>Sanjay Kumar Suri</dc:creator>
    <dc:date>2004-02-27T02:36:58Z</dc:date>
    <item>
      <title>setting up a dns server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-a-dns-server/m-p/3203944#M570808</link>
      <description>i'm trying to set up a dns server that is on it's own isolated network without any internet access. But, after setting things up, I get this message when using nslookup:&lt;BR /&gt;&lt;BR /&gt;nslookup&lt;BR /&gt;**** Can't find server name for address 155.44.33.15: Server failed&lt;BR /&gt;**** Default servers are not available&lt;BR /&gt;&lt;BR /&gt;Here are the steps I took setting dns up:&lt;BR /&gt;&lt;BR /&gt;mkdir /etc/named.data&lt;BR /&gt;cd /etc/named.data&lt;BR /&gt;hosts_to_named -r -d div.inc.com -n 155.44.33&lt;BR /&gt;mv named.boot /etc&lt;BR /&gt;&lt;BR /&gt;/etc/resolv.conf:&lt;BR /&gt;domain div.inc.com&lt;BR /&gt;nameserver 155.44.33.15&lt;BR /&gt;&lt;BR /&gt;cp /etc/nsswitch.hp_default /etc/nsswitch.conf&lt;BR /&gt;hosts: dns [NOTFOUND=return] nis [NOTFOUND=return] files&lt;BR /&gt;#not using nis &lt;BR /&gt;&lt;BR /&gt;ch_rc -a -p NAMED='1' /etc/rc.config.d/namesvrs&lt;BR /&gt;ch_rc -a -p NAMED_ARGS='"-c /etc/named.boot"' /etc/rc.config.d/namesvrs&lt;BR /&gt;/sbin/init.d/named start&lt;BR /&gt;&lt;BR /&gt;named is running but i get the above error messages when running nslookup on the server (155.44.33.15).&lt;BR /&gt;&lt;BR /&gt;any suggestions?&lt;BR /&gt;thanks</description>
      <pubDate>Fri, 27 Feb 2004 02:33:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-a-dns-server/m-p/3203944#M570808</guid>
      <dc:creator>curt larson_1</dc:creator>
      <dc:date>2004-02-27T02:33:05Z</dc:date>
    </item>
    <item>
      <title>Re: setting up a dns server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-a-dns-server/m-p/3203945#M570809</link>
      <description>Have you defined the host in /etc/hosts file?&lt;BR /&gt;&lt;BR /&gt;sks</description>
      <pubDate>Fri, 27 Feb 2004 02:36:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-a-dns-server/m-p/3203945#M570809</guid>
      <dc:creator>Sanjay Kumar Suri</dc:creator>
      <dc:date>2004-02-27T02:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: setting up a dns server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-a-dns-server/m-p/3203946#M570810</link>
      <description>You need to check the named.boot file. I think something went not right for your environment when creating it, resulting in the wrong datadirectory being used or some such. Also make sure your named is using the named.boot and not the named.conf (difference between versions up to bind4 (named.boot) and bind8 and up (named.conf))&lt;BR /&gt;Perhaps your named was already running, for instance, before doing the start. You can check this using 'ps -ef | grep named'. On the command line of named you should see the '-c /etc/named.boot' you defined.&lt;BR /&gt;&lt;BR /&gt;Also check your /var/adm/syslog/syslog.log for messages from your named. Problems in the configurations are written there, normally.&lt;BR /&gt;&lt;BR /&gt;Perhaps posting your named.boot will give us some more info on how to check and repair this...</description>
      <pubDate>Fri, 27 Feb 2004 02:46:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-a-dns-server/m-p/3203946#M570810</guid>
      <dc:creator>Elmar P. Kolkman</dc:creator>
      <dc:date>2004-02-27T02:46:56Z</dc:date>
    </item>
    <item>
      <title>Re: setting up a dns server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-a-dns-server/m-p/3203947#M570811</link>
      <description>yes it most certainly is defined in the /etc/hosts file</description>
      <pubDate>Fri, 27 Feb 2004 02:48:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-a-dns-server/m-p/3203947#M570811</guid>
      <dc:creator>curt larson_1</dc:creator>
      <dc:date>2004-02-27T02:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: setting up a dns server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-a-dns-server/m-p/3203948#M570812</link>
      <description>/etc/named.boot&lt;BR /&gt;;&lt;BR /&gt;; .....&lt;BR /&gt;;&lt;BR /&gt;&lt;BR /&gt;directory  /etc/named.data ; ...&lt;BR /&gt;&lt;BR /&gt;primary  0.0.127.IN-ADDR.ARPA  db.127.0.0&lt;BR /&gt;primary  div.inc.com           db.div&lt;BR /&gt;primary  33.44.155.IN-ADDR.ARPA  db.155.44.33&lt;BR /&gt;primary  .                       db.root&lt;BR /&gt;&lt;BR /&gt;yes, i've stopped and restarted named few times while trying out a few things already&lt;BR /&gt;&lt;BR /&gt;in syslog.log&lt;BR /&gt;starting named ...&lt;BR /&gt;/etc/named.boot:1: syntax error near ;&lt;BR /&gt;listening on [155.44.33.15].53 (lan0)&lt;BR /&gt;listening on [127.0.0.1].53 (lo0)&lt;BR /&gt;forwarding source address is [0.0.0.0].57135&lt;BR /&gt;ready to answer queries.</description>
      <pubDate>Fri, 27 Feb 2004 03:05:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-a-dns-server/m-p/3203948#M570812</guid>
      <dc:creator>curt larson_1</dc:creator>
      <dc:date>2004-02-27T03:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: setting up a dns server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-a-dns-server/m-p/3203949#M570813</link>
      <description>also in syslog.log, after a while this message will appear:&lt;BR /&gt;No root nameservers for class IN&lt;BR /&gt;&lt;BR /&gt;and in /etc/named.boot the first line is just the semi-colon nothing else.  Adding a blank line to the top of the file just moves the syntax error to line 2.&lt;BR /&gt;/etc/named.boot:2: syntax error near ;</description>
      <pubDate>Fri, 27 Feb 2004 03:13:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-a-dns-server/m-p/3203949#M570813</guid>
      <dc:creator>curt larson_1</dc:creator>
      <dc:date>2004-02-27T03:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: setting up a dns server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-a-dns-server/m-p/3203950#M570814</link>
      <description>Question: what is the version of your named?&lt;BR /&gt;&lt;BR /&gt;And the reason it is not working: it complains about the named.boot having a incorrect syntax. This could be caused by the named needing a named.conf if you specify -c. Try replacing the 'c' with a 'b': NAMED_ARGS="-b /etc/named.boot"</description>
      <pubDate>Fri, 27 Feb 2004 03:24:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-a-dns-server/m-p/3203950#M570814</guid>
      <dc:creator>Elmar P. Kolkman</dc:creator>
      <dc:date>2004-02-27T03:24:18Z</dc:date>
    </item>
    <item>
      <title>Re: setting up a dns server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-a-dns-server/m-p/3203951#M570815</link>
      <description>version of named is 8.1.2&lt;BR /&gt;&lt;BR /&gt;and just using the named.conf file instead of named.boot, without any arguments (/etc/named.conf is the default) is working just fine.&lt;BR /&gt;&lt;BR /&gt;using -b /etc/named.boot gave the same errors as before&lt;BR /&gt;&lt;BR /&gt;thanks for the assistance&lt;BR /&gt;</description>
      <pubDate>Fri, 27 Feb 2004 03:42:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-a-dns-server/m-p/3203951#M570815</guid>
      <dc:creator>curt larson_1</dc:creator>
      <dc:date>2004-02-27T03:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: setting up a dns server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-a-dns-server/m-p/3203952#M570816</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I guess you have to add the IP address of your DNS server in db.root file.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;Richard</description>
      <pubDate>Sun, 29 Feb 2004 01:51:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-a-dns-server/m-p/3203952#M570816</guid>
      <dc:creator>Rgomes</dc:creator>
      <dc:date>2004-02-29T01:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: setting up a dns server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-a-dns-server/m-p/3203953#M570817</link>
      <description>hosts_to_named&lt;BR /&gt;&lt;BR /&gt;builds the database for dns off /etc/hosts&lt;BR /&gt;&lt;BR /&gt;That is not the only way to go.&lt;BR /&gt;&lt;BR /&gt;You can do it manually  too.&lt;BR /&gt;&lt;BR /&gt;Here is a guide.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.tldp.org/HOWTO/DNS-HOWTO-5.html" target="_blank"&gt;http://www.tldp.org/HOWTO/DNS-HOWTO-5.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;This is a linux document. It worked perfectly on HP-UX&lt;BR /&gt;&lt;BR /&gt;SEP&lt;BR /&gt;</description>
      <pubDate>Sun, 29 Feb 2004 02:29:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-a-dns-server/m-p/3203953#M570817</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-02-29T02:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: setting up a dns server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-a-dns-server/m-p/3203954#M570818</link>
      <description>Hello!&lt;BR /&gt;As it is NS for internal use only, try to set localhost as nameserver on this machine, i.e.&lt;BR /&gt;&lt;BR /&gt;/etc/resolv.conf:&lt;BR /&gt;domain div.inc.com&lt;BR /&gt;nameserver 127.0.0.1&lt;BR /&gt;&lt;BR /&gt;Also try to set "files" before "dns" in nsswitch.conf. or set &lt;BR /&gt;hosts: dns [NOTFOUND=continue] dns [NOTFOUND=return]&lt;BR /&gt;to proceed to /etc/hosts if hostname was not found in DNS.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 01 Mar 2004 03:27:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-a-dns-server/m-p/3203954#M570818</guid>
      <dc:creator>Artyom Voronchihin</dc:creator>
      <dc:date>2004-03-01T03:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: setting up a dns server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-a-dns-server/m-p/3203955#M570819</link>
      <description>Ops. I have made a little mistake. Correct would be&lt;BR /&gt;hosts: dns [NOTFOUND=continue] files [NOTFOUND=return]</description>
      <pubDate>Mon, 01 Mar 2004 03:32:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-a-dns-server/m-p/3203955#M570819</guid>
      <dc:creator>Artyom Voronchihin</dc:creator>
      <dc:date>2004-03-01T03:32:08Z</dc:date>
    </item>
    <item>
      <title>Re: setting up a dns server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-a-dns-server/m-p/3203956#M570820</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;It sounds like you want to do non-recursive DNS, as you won't have an internet connection. In case you are not aware, this means that your DNS will not do lookups on domains that it is not authoritive for. This is most likely where the server failed error is coming from, especially as you have define a DNS root server file, db.root.&lt;BR /&gt;&lt;BR /&gt;You can do non-recursion with BIND8 in the named.conf file with&lt;BR /&gt;&lt;BR /&gt;"recursion no;"&lt;BR /&gt;&lt;BR /&gt;in your options {} config block.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;dan.</description>
      <pubDate>Mon, 01 Mar 2004 05:02:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-a-dns-server/m-p/3203956#M570820</guid>
      <dc:creator>Danny Webster</dc:creator>
      <dc:date>2004-03-01T05:02:51Z</dc:date>
    </item>
  </channel>
</rss>

