Try to find the file in /etc directory:
It should have been in /etc though.
You might need to double check if the BIND rpm got installed properly:
If still there's no /etc/named.conf, download the particular RPM from the repository server and execute the following to check if it's really there in the package:
If it's there in the RPM package and still somehow not getting installed (which is highly unlikely), execute the following command to extract the contents of the RPM to the current directory without installing it:
Then, copy the named.conf file to /etc:
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)
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)
Hello
I am new to Perl, in fact I am on chapter one of the book. :) However I am in need of a Perl Script faster than I can finish the book. Perhaps someone can help me with my immediate need while I read my book.
I have a directory with hundreds of files that are all named like... (4 Replies)
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 ?... (0 Replies)
Hi Guys,
I am configuring DNS BIND server I am getting following error, can someone please help ...below is my complete /etc/named.caching-nameserver.conf file :-
# service named restart
Stopping named:
Starting named:
Error in named... (1 Reply)
I just installed bind*
and then configured named.conf and zone files.
but when I am stating named its giving below error.
# /etc/init.d/named restart
Stopping named:
Starting named:
and in log i... (1 Reply)
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)
Hi all,
I need to add domain and search parameters to resolv.conf, however network manager overwrites.
Setting the PEERDNS=No in the interface file seems to have no effect on this behaviour.
Sadly I cannot just disable NM as these are not my hosts, I'm just attempting to install a platform... (3 Replies)
Discussion started by: Skrynesaver
3 Replies
LEARN ABOUT OPENSOLARIS
rpm2cpio
rpm2cpio(1) User Commands rpm2cpio(1)NAME
rpm2cpio - convert Red Hat Package (RPM) to cpio archive
SYNOPSIS
rpm2cpio [file.rpm]
DESCRIPTION
The rpm2cpio utility converts the .rpm file specified as its sole argument to a cpio archive on standard output. (See NOTES.) If no argu-
ment is given, an rpm stream is read from standard input. In both cases, rpm2cpio will fail and print a usage message if the standard out-
put is a terminal. Therefore, the output is usually redirected to a file or piped through the cpio(1) utility.
EXAMPLES
Example 1 Converting an rpm file
example% rpm2cpio Device3Dfx-1.1-2.src.rpm | cpio -itv
CPIO archive found!
-rw-r--r-- 1 root root 2635 Sep 13 16:39 1998, 3dfx.gif
-rw-r--r-- 1 root root 11339 Sep 27 16:03 1998, Dev3Dfx.tar.gz
-rw-r--r-- 1 root root 1387 Sep 27 16:04 1998, Device3Dfx-1.1-2.spec
31 blocks
Example 2 Converting from standard input
example% rpm2cpio < Device3Dfx-1.1-2.src.rpm | cpio -itv
CPIO archive found!
-rw-r--r-- 1 root root 2635 Sep 13 16:39 1998, 3dfx.gif
-rw-r--r-- 1 root root 11339 Sep 27 16:03 1998, Dev3Dfx.tar.gz
-rw-r--r-- 1 root root 1387 Sep 27 16:04 1998, Device3Dfx-1.1-2.spec
31 blocks
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWrpm |
+-----------------------------+-----------------------------+
SEE ALSO cpio(1), attributes(5)NOTES
rpm2cpio handles versions 3 and 4 RPMs.
SunOS 5.11 20 Aug 2001 rpm2cpio(1)