<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://try-as400.pocnet.net/index.php?action=history&amp;feed=atom&amp;title=Configuring_the_OS%2F400_DNS_server_without_OpNav</id>
	<title>Configuring the OS/400 DNS server without OpNav - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://try-as400.pocnet.net/index.php?action=history&amp;feed=atom&amp;title=Configuring_the_OS%2F400_DNS_server_without_OpNav"/>
	<link rel="alternate" type="text/html" href="http://try-as400.pocnet.net/index.php?title=Configuring_the_OS/400_DNS_server_without_OpNav&amp;action=history"/>
	<updated>2026-06-30T23:17:48Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>http://try-as400.pocnet.net/index.php?title=Configuring_the_OS/400_DNS_server_without_OpNav&amp;diff=1757&amp;oldid=prev</id>
		<title>PoC: New</title>
		<link rel="alternate" type="text/html" href="http://try-as400.pocnet.net/index.php?title=Configuring_the_OS/400_DNS_server_without_OpNav&amp;diff=1757&amp;oldid=prev"/>
		<updated>2026-06-28T19:53:51Z</updated>

		<summary type="html">&lt;p&gt;New&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The &amp;#039;&amp;#039;&amp;#039;OS/400 DNS server&amp;#039;&amp;#039;&amp;#039; can officially be configured via &amp;#039;&amp;#039;&amp;#039;OpNav&amp;#039;&amp;#039;&amp;#039; only. However, there are other ways…&lt;br /&gt;
&lt;br /&gt;
OpNav is a component of ClientAccess for Windows, which is installed along with OS/400.&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
The DNS server of OS/400 V4R2 up to and including V4R5 is based on BIND 4.9.3 from the ISC. Therefore, the configuration directives from ISC apply immediately. At startup, the system looks for the main configuration file &amp;#039;&amp;#039;/QIBM/USERDATA/OS400/DNS/BOOT&amp;#039;&amp;#039;. You can easily create this file yourself:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Dns DNS von OS/400 V4R2 bis einschliesslich V4R5 basiert auf BIND 4.9.3 vom ISC. Somit gelten auch die Konfigurationsdirektiven unmittelbar. Beim Start wird nach der Hauptkonfiguratiosndatei &amp;#039;&amp;#039;/QIBM/USERDATA/OS400/DNS/BOOT&amp;#039;&amp;#039; gesucht. Diese kann man bequem selbst erstellen:&lt;br /&gt;
 edtf &amp;#039;/qibm/userdata/os400/dns/boot&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Example file content:&lt;br /&gt;
 ; Working Directory&lt;br /&gt;
 directory /QIBM/USERDATA/OS400/DNS&lt;br /&gt;
 ; Root-DNS-File&lt;br /&gt;
 cache . NAMED.ROOT&lt;br /&gt;
 ; Zone Statements&lt;br /&gt;
 secondary myzone.com 192.168.1.11 db.myzone.com&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Edtf&amp;#039;&amp;#039; is very similar to &amp;#039;&amp;#039;seu&amp;#039;&amp;#039; in its operation . Alternatively, this file can be created elsewhere and uploaded to the appropriate location in ASCII mode via FTP.&lt;br /&gt;
&lt;br /&gt;
It is recommended to import an up-to-date root zone file. This can be obtained, for example, from [https://www.internic.net/domain/named.root Internic], and transferred via FTP to &amp;#039;&amp;#039;qdns/qatocdnsrv.root&amp;#039;&amp;#039; as well as to &amp;#039;&amp;#039;/qibm/userdata/os400/dns/root.hint&amp;#039;&amp;#039;, as specified in the corresponding directive.&amp;lt;ref&amp;gt;BIND cannot deal with a file in a library. It&amp;#039;s unclear why there is a copy in a &amp;#039;&amp;#039;qsys.lib&amp;#039;&amp;#039; file.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The directory permissions must be adjusted before starting the DNS server:&lt;br /&gt;
 strqsh cmd(&amp;#039;chown qtcp /qibm/userdata/os400/dns&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
Through the &amp;lt;code&amp;gt;chgdnsa&amp;lt;/code&amp;gt; command, you can set &amp;#039;&amp;#039;autostart at TCP startup&amp;#039;&amp;#039; to &amp;#039;&amp;#039;*yes&amp;#039;&amp;#039;, as well as a desired debug level, and finally issue &amp;lt;code&amp;gt;strtcpsvr *dns&amp;lt;/code&amp;gt; to start the server.&lt;br /&gt;
&lt;br /&gt;
Less encouraging is the fact that when testing this DNS as a secondary to BIND 9.10.3 running on Debian Linux, no secondary zones can be loaded. The primary server pushes the zones out via AXFR, but the slave on the AS/400 does not accept them. According to the AXFR job log, BIND expects more data bytes than it receives. A fix to this behavior is not known.&lt;br /&gt;
&lt;br /&gt;
== Weblinks ==&lt;br /&gt;
* [http://www.cs.ait.ac.th/~on/O/oreilly/tcpip/dnsbind/ch04_03.htm Setting Up a BIND Configuration File], O&amp;#039;Reilly Books&lt;br /&gt;
* [https://www.redbooks.ibm.com/redbooks/pdfs/sg245147.pdf AS/400 TCP/IP Autoconfiguration: DNS and DHCP Support], IBM RedBooks&lt;br /&gt;
&lt;br /&gt;
[[Category: Software Configuration Guide]]&lt;br /&gt;
[[Category: System Administration]]&lt;/div&gt;</summary>
		<author><name>PoC</name></author>
	</entry>
</feed>