|
|
Communicator 3000 MPE/iX Release 6.0 (Platform Software Release C.60.00): HP 3000 MPE/iX Computer Systems > Chapter 10 Technical Articles DNS BIND/iX and Syslog/iX |
|
by Wendy Cheng DNS BIND, which stands for Berkeley Internet Name BIND/iX Domain, is an implementation of the Domain Name System (DNS) and is the most commonly used of the Domain Name System (DNS). Now, the complete implementation of DNS BIND/iX runs on MPE/iX shell operation system on MPE/iX release 6.0. Initially, DNS BIND/iX was written for UNIX. Now, the latest version of DNS BIND/iX 8.1.1 runs on MPE/iX systems. DNS BIND/iX is a domain name system which consists of a client-server mechanism. The name-servers comprise the server half of the DNS's client-server mechanism. The name-server is the NM program NAMED which maintains information about some part of the DNS called a zone and has capabilities to retrieve information regarding other zones. The clients are resolver routines provided as NMRL libraries. The resolvers are clients that query the name servers, interpret the responses and send the answers to the requester. DNS BIND/iX makes your domain names visible to the internet as well as handling client requests to resolve domain names within your domain and external domains. Prior to DNS BIND/iX, the HP 3000 users had to rely on other machines or other operating system to host their organization DNS information. Now, you can host it on HP 3000 systems. The latest version of DNS BIND/iX 8.1.1 is available for MPE/iX release 6.0 with the following features:
The BIND/iX contains the following major utilities and administration tools:
Syslog is the standard event logging system for Syslog/iX UNIX. Now the Syslog/iX can run on the MPE/iX shell operating system on MPE/iX release 6.0. With the features of Syslog/iX available on MPE/iX systems, the event messages can be logged to files, terminal devices, or even forward to other syslog systems. Syslog/iX can accept data from the local system via an AF_UNIX socket or from any system on the network via an AF_INET UDP socket on port 514. DNS BIND/iX uses Syslog/iX as the event logging subsystem. DNS BIND/iX provides two types of name-servers: primary masters and secondary masters. A primary master name server gets the data for the zones it is authorized for from files on the host it runs on. A secondary master name server gets its zone data from another name server authorized for the zone. When a secondary name-server starts up, it contacts the name-server it updates from and, if necessary, pulls the zone data over. This is referred to as a zone transfer. With DNS BIND/iX available on MPE/iX systems, you can create the data for your zone and set up a primary master name-server, then you can set up secondary master name-servers that load their data from primary servers. Once they are set up, the secondary servers will periodically query the primary servers to keep the zone data up to date. The following lists the major files required for DNS BIND/iX:
There are two types of the data files. The files mapping addresses to hostnames are called db.ADDRdb or zone.ADDR, where ADDR is the network address. The files mapping hostnames to addresses called db.DOMAIN or zone.DOMAIN.
The DNS BIND/iX allows users to configure both master zone or slave zone in your configuration file. Here are the sample configuration units for a master zone or slave zone shown below: Sample Configuration for a Master Zone zone "43.10.15.IN-Addr.ARPA { The file db.15.10.43 will have entries like: IN SOA bindserver.india.hp.com IN SOA bindserver.india.hp.com 1 IN PTR m1.india.hp.com. There are several key parameters defined in the zone file record:
Sample Configuration Unit for a Slave Zone zone "41.10.15.IN-ADDR.ARPA" { } The IP address of the server that is primary for that domain is specified in the masters { } section of the configuration unit. There could be more than one master for a given zone. When the name-server comes up, looking at this configuration, it makes a connection with the name-server running on 15.70.188.45 and does a zone transfer, if it is required. It makes a local copy of this file too. The configuration file in BIND/iX 8.1.1 version is called "named.conf" which has a completely new syntax. The configuration file in BIND 4.x version was called "named.boot." The migration utility "named-bootconf.pl" is available with DNS BIND/iX and can be used to convert 4.x of named.boot file to 8.1.1 version of named.conf file. The utility "named-bootconf.pl" resides in /BIND/PUB/bin directory. The following describes the important steps to start Syslog/iX:
The following describes the major steps to start DNS BIND/iX:
When you want to use Syslog/iX, you should examine File for SysDiag/iX and adjust the syslog configuration file syslog.conf. The syslog.conf file resides in /SYSLOG/PUB directory. The following is the sample configuration file for Syslog/iX that you can find in the system:
The error messages coming from a program are classified into critical informative and alert types of messages. The syslog configuration file tells the syslog daemon how to post these messages. They could be sent to the console or to a log file, or to another machine. The nslookup utility can be used interactively, using nslookup much like other programs, such as ftp. That is, if you invoke this program without command-line arguments, it displays a prompt and waits for your command:
By default, nslookup performs queries based on host names you submit; just enter a host name after the prompt:
You can check the resource records information about name server:
Debugging levels 1 through 14 can be specified when Troubleshooting the DNS BIND/iX server is started. The level of detail can be controlled in the JNAMED.PUB.BIND file. The higher the debugging value, the more detail will be logged about the activities of the server. The following describes how you can set up the debugging level in the JNAMED.PUB.BIND:
The parameter "-d <level>" can be specified in the info string of the run command. Example
The logging and trace messages can be seen in the spool files. Example
Documentation for the DNS BIND/iX and Syslog/iX is available in the Configuring and Managing MPE/iX Internet Services that is shipped with the MPE/iX FOS. |
|