Sponsored Content
Operating Systems Solaris configure DNS server on solaris Post 302099221 by Tornado on Sunday 10th of December 2006 05:15:40 PM
Old 12-10-2006
I just tried to download it now... It worked fine.
Try to download it again.

Here is the named.conf template file from the download.
Code:
//
//james liu 2/23/96
//revised 3/23/2000
//
//dns configuration file compatible with solaris 2.7 and later. This
//configuration is targeted at primary and secondary dns server setups.
//
//for solaris 2.6 and earlier, do not edit this file, but
//see the "named.boot" file for instructions.
//
//installation instructions:
//
//we assume you've unpacked this distribution.
//
//step 1;
//-------
//edit named.conf, named.local, named.cache, named.mydomain, and
//named.domain.rev and globally change all instances of "myhost" to
//the actual hostname, and "mydomain" to the desired domain name.
//also, change the ip numbers for the domain to match those for your
//network. for the reverse domain, just reverse the numbers for the
//class of address. this template is designed for a single class c.
//
//step 2:
//-------
//to use this, and create a symbolic link to this in /etc filesystem
//link to this file: ie:
//
//# ln -s [path-to-this]/named.conf /etc/named.conf
//
//step 3:
//-------
//start the dns server. /usr/sbin/in.named.
//
//
//
//for secondary domain name servers, use these entries; format is:
//<dns type> <domain> <prim. ip(s)> <filename>
//note, you can spec more than one prim. ip to download from
//in addition, the filename is the name to store the map in. you don't
//have to create this file. the common practice is to assign filenames
//as *.bak for files this server caches as a secondary dns relative to
//some other dns primary.
//
//almost all dns's can use themselves to resolve the local host
//you usually will leave this entry alone
//
//all dns's need to spec top-level cache servers that resolve world internet
//hostnames. there can be one or more entries and are spec'd in the cache
//file.
//
//if you are a subnet as a part of a larger network, (e.g. your domain is
//"mysubnet.mydomain.com", you may want to set forwarding to a higher
//level server (the one that serves names for "mydomain.com". if so,
//uncomment the 'forwarders' line below and edit it for your network
//parameters.
//

//specify the directory prefix where you plan to store the dns map files.
//the default here is /var/named.
options {
 	directory	 "/var/named";
//
//uncomment if you want to send queries outside of the primary to a
//a forwarders server.
//	forwarders       {
//		129.150.254.2;
//	};
};

//choose between primary or being a secondary server. a secondary dns is
//simply a server that downloads the dns maps from some other primary or
//secondary. the default here is to be a primary and have only one
//class c subnet. the dns needs a "forward map" that looks up ip address
//for a given hostname, and a "reverse map" that looks up hostname for
//a given ip address. if you have multiple subnets and domain name spaces,
//you should have multiple forward maps, and/or multiple reverse maps.
//in many networks, there is a single domain name space that spans several
//subnets, in which case, there will be one forward map, and many reverse
//maps.

zone "mydomain.com" in {
	type master;
	file "named.mydomain";
};

add more zones if you have multiple subnets as primary

zone "9.200.129.in-addr.arpa" in {
	type master;
	file "named.mydomain.rev";
};
//
//you can make this a secondary rather than primary by uncommenting
//these lines and commenting out the above primary zones and replacing
//with these below.  The masters IP address(es) are set to whatever your
//masters are.
//zone "mydomain.com" in {
//        type slave;
//        file "named.mydomain.bak";
//        masters { 129.200.9.1; 129.200.9.2 };
//};

//zone "9.200.129.in-addr.arpa" in {
//        type slave;
//        file "named.mydomain.9.bak";
//        masters { 129.200.9.1; 129.200.10.1 };
//};

//zone "10.200.129.in-addr.arpa" in {
//        type slave;
//        file "named.mydomain.10.bak";
//        masters { 129.200.10.1; 129.200.9.1 };
//};

// don't usually need to mess with this entry. You may need to edit
// the map file, named.local, however.
zone "0.0.127.in-addr.arpa" in {
	type master;
	file "named.local";
};

// nothing to do here.
zone "." in {
	type hint;
	file "named.cache";
};

//---------------end named.conf------------------

Tornado
 

9 More Discussions You Might Find Interesting

1. IP Networking

trying to configure DNS address in Solaris

hi to all. I'm trying to use the sendmail command to generate some reports and I cant use it. The mails i try to send simply won't go out, instead I receive a response from the system sayng that the host is unknown. I think the problem is in the DNS configuration (or the IMAP/SMTP servers). ... (3 Replies)
Discussion started by: ldrojasm
3 Replies

2. UNIX for Advanced & Expert Users

How to configure DNS

My OS is sun solaris7,(sun sparc),i want connect inernet and my computer in my company intranet.After i configure proxy server,i still can't conncet internet.I guess whether the DNS is configured correctly. who can help me???Thank you very much!!! (6 Replies)
Discussion started by: q30
6 Replies

3. UNIX for Dummies Questions & Answers

Add DNS server in Solaris

I am new to UNIX and have been trying to add DNS servers so I can access the internet under Solaris 9. I am using a static IP and have the subnet and gateway configured but cannot figure out to add DNS servers. Does anyone know how to do this? Thank you very much for any help. (1 Reply)
Discussion started by: jmy113437
1 Replies

4. Solaris

Solaris DNS Client For Microsoft DNS Server

hey guys, how to add soalris box as a microsoft DNS Client ? and how to register in the microsoft DNS ?? i managed to query from the DNS server after adding /etc/resolve.conf and editing /etc/nsswitch.conf but i need to register the soalris server (dns Client) into Microsoft DNS automatically.... (3 Replies)
Discussion started by: mduweik
3 Replies

5. IP Networking

Configure DNS

I am running Solaris 2.6 Server on a Sparc 10 and I was wondering how I can manually specify a DNS server to resolve hostnames. Any help will be greatly appreciated. And also I have created a file in the /etc dir named defaultrouter and added th IP address of my router, but when I ping another... (15 Replies)
Discussion started by: jskillet
15 Replies

6. Solaris

How to configure Proxy Server in Solaris 10 (X86)

Hi , I have installed solaris 10 on x 86 architecture. Now i want to configure this system as Proxy Server. I am new to the solaris. Please help me how can i configure this. Which packages or patches are needed ? or Which files have to be modify ? Please help me to resolve. Thanks and... (0 Replies)
Discussion started by: raviraj001
0 Replies

7. Solaris

BIND DNS Server issue on Solaris 10

Hi all, I have some sort of problem with BIND DNS server my environment as follows. bash-3.00# cat /etc/release Solaris 10 6/06 s10s_u2wos_09a SPARC Copyright 2006 Sun Microsystems, Inc. All Rights Reserved. Use is subject to... (3 Replies)
Discussion started by: h@foorsa.biz
3 Replies

8. Solaris

checking Solaris 10 DNS server for IPv6

hi, i have a Solaris 10 DNS server, how do you check whether it can support IPv6 networking ? (0 Replies)
Discussion started by: Exposure
0 Replies

9. Solaris

How to add new Solaris client IP into Solaris 10 DNS server?

Hi, We just built a new Solaris 10 zone. And would like to add it to our DNS server. Its also Solaris 10. Please let me know how can I get the IP resolved using this DNS server. I added entry into zone config file but not working. I did restarted the DNS services. And also added nameserver name... (5 Replies)
Discussion started by: snchaudhari2
5 Replies
bindconfig(8)						      System Manager's Manual						     bindconfig(8)

NAME
bindconfig - Configures BIND services for a single system or cluster SYNOPSIS
/usr/sbin/bindconfig [-ui cui [clioptions] | gui [x resources]] /usr/sbin/sysman dns [-ui cui [clioptions] | gui [x resources]] OPTIONS
Specifies the user interface to be invoked. The choices are: Specifies command line interface. Specifies graphical user interface. Spe- cific command line options that will be used to interact with netconfig. The syntax is as follows: Provides a brief help message, listing all the configurable components along with the actions that can be performed on those components. Configurable components are indicated in Help output by a "-" prefix. Provides a detailed help message on how to configure the specified configurable component. Each action will be listed on a separate line with the attributes that can be used for the action. The configurable components are: Sets the respective variables in the /etc/rc.config.common file to denote that the system is configured as a BIND client. Sets the respective BIND variables in the /etc/rc.config.common file to denote that the system is configured as a BIND server, and allows the user to specify the boot, cache, and BIND database directory. The named daemon can be started and stopped during this configuration. Sets the resolution order in the /etc/svc.conf and /etc/svcorder files. Also sets the resolution parameters such as domain and name server in the /etc/resolv.conf file. This item must be configured in order for your system to run any BIND service as either a client or server. Configured only when the BIND service type is Server. Sets the domains of the zones the system has authority over in the /etc/namedb/named.boot file and creates files for the BIND database to be stored in. Resource records are specified for every zone configured, and the resource record data is stored in the respective zone database files. Used primarily to deconfigure BIND on a system, this removes all traces of BIND from the /etc/rc.con- fig.common, /etc/namedb/named.boot, /etc/resolv.conf, /etc/svcorder and /etc/svc.conf files and kills the named daemon if it is running. Used to perform a specific action on the selected component, optionally by altering the attribute's value for the selected component. A list of actions and their specific attribute-value pair will be listed by the clioption -configurable_component>Help. The actions are: Causes a new configuration to be created on the system for the selected component Modifies an existing configuration for the selected com- ponent Adds a new value to an attribute on an existing configuration for the selected component Deletes a value of an attribute on an existing configuration for the selected component Removes an existing configuration for the selected component Lists all the attribute- value pairs for the selected component on the system The x resources are standard X11 resource options. For more information, see the X(1X) reference page. DESCRIPTION
The Bind Configuration application, bindconfig, allows a system to be configured as a Berkeley Internet Name Domain (BIND) Client, which queries a BIND server for host name and address information, interprets responses, and passes the information to requesting applications, or as a BIND Server, which is the authoritative source for information about a zone or zones. The BIND server either maintains the master copy of the hosts database for the zone or zones, or obtains the required information. Before using bindconfig, be sure to configure Network Interfaces using the Network Configuration Manager application. You can access net- config from the Configuration Checklist. If the Network Interfaces are down when you configure your system as either a BIND client or a BIND server, the named daemon will not start. Use bindconfig to: Configure the host system as a master nameserver for one or more zones, as a caching-only nameserver, or as a nameser- vice client Initialize and maintain BIND data files and generate resource records to manage areas such as: host name to address/address to host name mapping, host information, host name aliasing, name servers, mail exchange, and the cache file root server list Manage the BIND boot files, including creation of multiple zones of authority, designation of forwarders, and indication of slave configurations Maintain the resolver configuration file, specify queriable name servers, and specify an alternate domain search list The bindconfig application provides a host name and address lookup service for the Internet Network. The application distributes only the hosts database in the Tru64 UNIX operating system. You must have root privileges to run this application. The bindconfig command has three user interface options: Graphical user interface (GUI) Command line interface (CLI) Menu interface (Menu) Running the Graphical User Interface Option: To start bindconfig from the graphical user interface, do the following: Click on the Application Manager icon on the CDE front panel. Double click on the System_Admin application group icon. Double click on the Configuration application group icon. Double click on the BIND icon. To start bindconfig from the xterm, enter the following command from the xterm: /usr/sbin/sysman dns Running the Command Line Interface Option: To start the bindconfig command line interface, enter the following command from the xterm: sysman dns -ui cui [clioptions] Running the Menu Interface Option: To start the bindconfig menu interface, enter the following command from the xterm: sysman dns This option starts the setup script for bindsetup. For more information, see the bindsetup(8) reference page. Running Online Help: You can view online help for this application by entering the following at the command line: /usr/dt/bin/dthelpview -helpVolume /usr/dt/appconfig/help/C/BindConfig.sdl You can also view online help for this application by choosing Help from the menu bar in the GUI version. The Help pulldown menu is dis- played, providing the following options: Overview: Displays the Overview section of the help volume, which describes the purpose of the application, how to run the application, and how to exit the application. Tasks: Displays the Tasks section of the help volume, which describes how to use the application to perform various tasks. Reference: Displays the Reference section of the help volume, which describes all dialog boxes and dialog box components in the applica- tion. On Item: Activates the On Item help functionality by displaying a question mark as the cursor. When the cursor is positioned on any compo- nent in the application and you click on the component, a Help Viewer window is opened and the help for the selected component is displayed in the window. Using Help: Displays the standard CDE instructions on how to use the Help Viewer. About: Displays version, copyright, and trademark information for the application. EXAMPLES
The following example shows how to configure the system for a BIND client configuration using the command line interface: sysman dns -ui cui -resolver create domain=x.y.com ns=1.1.1.1 sysman dns -ui cui -client create The following example shows how to add an additional name server using the command line interface: sysman dns -ui cui -resolver add ns=1.1.1.2 search=y.y.com The following example shows how to con- figure the system as a BIND server using the command line interface: bindconfig -ui cui -server create domain=x.y.com boot=/etc/namedb/named.boot cache=/etc/namedb/named.ca dir=/etc/namedb active=yes The following example shows how to deconfigure all BIND services using the command line interface: bindconfig -ui cui -all purge FILES
Lists locally maintained host names and IP addresses The database name with the selected naming services Specifies the environment vari- ables that define the BIND configuration on your system Default BIND Files: BIND server data file directory BIND server boot file BIND server cache file BIND server local host reverse address host file BIND primary server hosts file BIND primary server reverse address hosts file BIND data file SEE ALSO
Commands: named(8), nslookup(8), rc.config(8), svcsetup(8), xauth(1X) Files: resolv.conf(4), svc.conf(4) Network Services: bind_intro(7) bindconfig(8)
All times are GMT -4. The time now is 06:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy