BIND 9 ---> no /etc/named.conf file after installation


 
Thread Tools Search this Thread
Operating Systems Solaris BIND 9 ---> no /etc/named.conf file after installation
# 1  
Old 08-02-2010
BIND 9 ---> no /etc/named.conf file after installation

Hi

I installed BIND 9 from dvd image of my Solaris 10 (SUNWbind, SUNWbindr) and when I try to start it(svcadm enable network/dns/server), it says there is no /etc/named.conf file.

Why is it so ?
Should not this file be created during installation phase ?
Do I have to create it manually ?
Is there some default template, that I can use to create it ?

thx for help.

---------- Post updated at 04:12 PM ---------- Previous update was at 02:00 PM ----------

I created it manually and server started properly.

touch /etc/named.conf
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Configure resolv.conf and nsswitch.conf

Hi, I've installed Solaris 11.3(live media) and configured DNS. Everytime I reboot the server, resolv.conf got deleted and it created a new nsswitch.conf. I used below to configure both settings: # svccfg -s dns/client svc:/network/dns/client> setprop config/nameserver = (xx.xx.xx.aa... (1 Reply)
Discussion started by: flexihopper18
1 Replies

2. Shell Programming and Scripting

Script to update rsyslog.conf and auditd.conf

Hello all, Newbie here. I'm currently tasked with updating rsyslog.conf and auditd.conf on a large set of servers. I know the exact logging configurations that I want to enable. I have updated both files on on a server and hope to use the updated files as a template for the rest of the... (3 Replies)
Discussion started by: Mide
3 Replies

3. Shell Programming and Scripting

perl Compare zone files in directory with what is listed in named.conf

I would really appreciate any assistance that I can get here. I am fairly new to perl. I am trying to rewrite my shell scripts to perl. Currently I have a shell script (using sed, awk, grep, etc) that gets a list of all of the zone files in a directory and then looks in named.conf for what... (0 Replies)
Discussion started by: brianjb
0 Replies

4. Red Hat

Named.conf file missing Centos 5.

hello everyone, I have install centos 5 recently.The file /etc/named.conf not found. I have installed BIND using yum. so now what to do ?? should i create named.conf file manually ??? please help me. thanks, sharlin. :) (1 Reply)
Discussion started by: sharlin
1 Replies

5. Red Hat

Bind named query

Hello! I have a DNS server running named on a RHEL 6.2 for very small development servers/clients network. I see the below logs on /var/named/data/named.run error (network unreachable) resolving 'D.ROOT-SERVERS.NET/AAAA/IN': 198.41.0.4#53 error (network unreachable) resolving... (2 Replies)
Discussion started by: admin_xor
2 Replies

6. Solaris

Solaris 8 bind 9 named question

Hi, I can't rememeber what passwd is set for the "named" user in bind. Is there possibly a default one or anyway to find it ? I'm worried about changing it and causing other issues, if I did change it what other files would I need to edit ? :( Thanks (1 Reply)
Discussion started by: sysop400
1 Replies

7. Solaris

basic question on sd.conf and lpc.conf file

Hello Guys, Do we need to configure this file only if we add SAN disk or even if we add local disk, do we need to modify? (4 Replies)
Discussion started by: mokkan
4 Replies

8. Shell Programming and Scripting

seeking help with perl to read named.conf

Hello, I am seeking help with someone with perl expertise that can create me a script that will read a named.conf file and create a csv or a text file on each of the zones that the named.conf contains. An excerpt of named.conf looks like: acl "our_nets" { 127.0.0.1/32; ... (2 Replies)
Discussion started by: richsark
2 Replies

9. Shell Programming and Scripting

Parse "masters" ip from named.conf

Hi there, Im' trying to make a script to parse the BIND configuration file from my slave DNS server and obtain a certain parameter. The named.conf file has this format: zone "0.170.20.10.in-addr.arpa" { type slave; file "0/./db.0.170.20.10.in-addr.arpa.bak"; allow-notify {... (2 Replies)
Discussion started by: Citricut
2 Replies

10. UNIX for Dummies Questions & Answers

can't find named.conf to configuration DNS

Help me! I have problem. I can't find named.conf file in /etc (Solaris 5.6,SPRAC) Please! (1 Reply)
Discussion started by: nghia77
1 Replies
Login or Register to Ask a Question
rndc-confgen(1M)					  System Administration Commands					  rndc-confgen(1M)

NAME
rndc-confgen - rndc key generation tool SYNOPSIS
rndc-confgen [-ah] [-b keysize] [-c keyfile] [-k keyname] [-p port] [-r randomfile] [-s address] [-t chrootdir] [-u user] DESCRIPTION
The rndc-confgen utility generates configuration files for rndc(1M). This utility can be used as a convenient alternative to writing by hand the rndc.conf(4) file and the corresponding controls and key statements in named.conf. It can also be run with the -a option to set up a rndc.key file and avoid altogether the need for a rndc.conf file and a controls statement. OPTIONS
The following options are supported: -a Perform automatic rndc configuration. This option creates a file rndc.key in /etc (or however sysconfdir was specified when BIND was built) that is read by both rndc and named(1M) on startup. The rndc.key file defines a default command chan- nel and authentication key allowing rndc to communicate with named with no further configuration. Running rndc-confgen with -a specified allows BIND 9 and rndc to be used as drop-in replacements for BIND 8 and ndc, with no changes to the existing BIND 8 named.conf file. -b keysize Specify the size of the authentication key in bits. The keysize argument must be between 1 and 512 bits; the default is 128. -c keyfile Used with the -a option to specify an alternate location for rndc.key. -h Print a short summary of the options and arguments to rndc-confgen. -k keyname Specify the key name of the rndc authentication key. The keyname argument must be a valid domain name. The default is rndc-key. -p port Specify the command channel port where named listens for connections from rndc. The default is 953. -r randomfile Specify a source of random data for generating the authorization. By default, /dev/random is used. The randomdev argument specifies the name of a character device or file containing random data to be used instead of the default. The special value keyboard indicates that keyboard input should be used. -s address Specify the IP address where named listens for command channel connections from rndc. The default is the loopback address 127.0.0.1. -t chrootdir Used with the -a option to specify a directory where named will run after the root directory is changed with chroot(1M). An additional copy of the rndc.key will be written relative to this directory so that it will be found by the named in the new directory. -u user Used with the -a option to set the owner of the rndc.key file generated. If -t is also specified only the file in the chroot area has its owner changed. EXAMPLES
Example 1 Create Automatic rndc Configuration The following command creates an automatic rndc configuration, so that rndc can be used immediately. # rndc-confgen -a Example 2 Print a Sample rndc.conf File The following command prints a sample rndc.conf file with corresponding controls and key statements. These statements can subsequently be manually inserted in the file named.conf. # rndc-confgen ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWbind | +-----------------------------+-----------------------------+ |Interface Stability |External | +-----------------------------+-----------------------------+ SEE ALSO
chroot(1M), named(1M), rndc(1M), rndc.conf(4), attributes(5) BIND 9 Administrator Reference Manual, available at the ISC web site SunOS 5.11 24 Dec 2008 rndc-confgen(1M)