Host file to dns zone creation solution?


 
Thread Tools Search this Thread
Operating Systems Solaris Host file to dns zone creation solution?
# 1  
Old 05-27-2014
Host file to dns zone creation solution?

We are currently using the famous script H2N to create our DNS zone files from a host file. However, we are moving to IPV6 soon and this script doesnt support IPV6. Is there another script/solution to creating DNS zones via a host file input? Is there another solution or way to do things that I may want to consider using?

We will be creating our DNS zones based off a database dump file for all IPv6 hosts. Like I said perviously we have been doing this using the H2N perl script. Just trying to see if there is another solution?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Host file to DNS zone creation

We are currently using the famous script H2N to create our DNS zone files from a host file. However, we are moving to IPV6 soon and this script doesnt support IPV6. Is there another script/solution to creating DNS zones via a host file input? (0 Replies)
Discussion started by: jpolachak
0 Replies

2. Ubuntu

Bind dns server zone file

I have a couple of zone conf files for the BIND server. There are some records that contains the "IN" statement and some do not. But anyway this works. So my question is what this "IN" is intended for? Here is the zone file example: ORIGIN . $ttl 60 example.com. IN SOA ... (4 Replies)
Discussion started by: andriesh
4 Replies

3. Solaris

Creation of zone based on zfs root file system

Hi all I want to know if suppose my global zone has UFS root file system & now I want to create non global zone with ZFS root file system. Is it possible.....If this is possible then how will I able to create zone based on ZFS root file system in global zone having UFS based root file system (5 Replies)
Discussion started by: sb200
5 Replies

4. Solaris

DNS zone transfer Problem.

Hi All , I have 2 DNS servers (BIND 9.6.1 -Solaris 10) .Its configured as master ,slave serves .Now i am recieving error messages related to zone transfer in both the servers as mentioned below . Primar Server named: client x.x.x.x#40825: transfer of './IN': sending zone data: ran... (1 Reply)
Discussion started by: sandeep.tk
1 Replies

5. Solaris

Migrate physical host to zone

Hi guys I need to migrate some physical sparc server to zones (M4000) and i know that this is possible wit Oracle OpsManager. But is there also another way to do that work? Has someone experience with migrating a physical system to a zone? Regards beta17 (6 Replies)
Discussion started by: beta17
6 Replies

6. Solaris

Zone Creation

Is it possible to install a solaris 10 flar image into a sparse zone? (6 Replies)
Discussion started by: mr_crosby
6 Replies

7. IP Networking

DNS does all slave Name Server must be in the zone Resource Record file?

Hy guys, I've a problem configuring my Name Server (using bind 9) which is I'ts always necessary to put all slave Name Server for a zone in the zone resource record file or db (as you prefer)? I've this scenario: A - my domain which is son of some TLD and I delegated into two new domains B... (1 Reply)
Discussion started by: pharaoh
1 Replies

8. Solaris

Solaris 10 11/06 Zone creation issue

Hi, I am new to zone creations in solaris 10. When I try to create a zone with "set ip-type=exclusive" it gives the usage. OS == Solaris 10 11/06 s10s_u3wos_10 SPARC Copyright 2006 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license... (17 Replies)
Discussion started by: niman
17 Replies

9. Solaris

Solaris Zone Creation Script

I am a new UNIX SA and am in need of help writing a script. We are getting into using ZONES and LDOMS and i wanted to script the process of creating a Solaris ZONE. I have all the commands and they work on the command line but i am sick doing each command over and over. We are turning out quite a... (1 Reply)
Discussion started by: rookieuxixsa
1 Replies

10. IP Networking

DNS Zone Help

My email keeps being sent as spam, so I contacted my host and they told me I needed to update my DNS zone to add an SPF record. I really don't know how to do this, so if anyone could help me out, I will marry you. Here's the current DNS zone: "evadehost.com.db" 27L, 720C ; cPanel... (1 Reply)
Discussion started by: Serenade
1 Replies
Login or Register to Ask a Question
setflabel(3TSOL)				       Trusted Extensions Library Functions					  setflabel(3TSOL)

NAME
setflabel - move file to zone with corresponding sensitivity label SYNOPSIS
cc [flag...] file... -ltsol [library...] #include <tsol/label.h> int setflabel(const char *path, const m_label_t *label_p); DESCRIPTION
The file that is named by path is relabeled by moving it to a new pathname relative to the root directory of the zone corresponding to label_p. If the source and destination file systems are loopback mounted from the same underlying file system, the file is renamed. Other- wise, the file is copied and removed from the source directory. The setflabel() function enforces the following policy checks: o If the sensitivity label of label_p equals the existing sensitivity label, then the file is not moved. o If the corresponding directory does not exist in the destination zone, or if the directory exists, but has a different label than label_p, the file is not moved. Also, if the file already exists in the destination directory, the file is not moved. o If the sensitivity label of the existing file is not equal to the calling process label and the caller is not in the global zone, then the file is not moved. If the caller is in the global zone, the existing file label must be in a labeled zone (not ADMIN_LOW or ADMIN_HIGH). o If the calling process does not have write access to both the source and destination directories, then the calling process must have PRIV_FILE_DAC_WRITE in its set of effective privileges. o If the sensitivity label of label_p provides read only access to the existing sensitivity label (an upgrade), then the user must have the solaris.label.file.upgrade authorization. In addition, if the current zone is a labeled zone, then it must have been assigned the privilege PRIV_FILE_UPGRADE_SL when the zone was configured. o If the sensitivity label of label_p does not provide access to the existing sensitivity label (a downgrade), then the calling user must have the solaris.label.file.downgrade authorization. In addition, if the current zone is a labeled zone, then it must have been assigned the privilege PRIV_FILE_DOWNGRADE_SL when the zone was configured. o If the calling process is not in the global zone, and the user does not have the solaris.label.range authorization, then label_p must be within the user's label range and within the system accreditation range. o If the existing file is in use (not tranquil) it is not moved. This tranquility check does not cover race conditions nor remote file access. Additional policy constraints can be implemented by customizing the shell script /etc/security/tsol/relabel. See the comments in this file. RETURN VALUES
Upon successful completion, setflabel() returns 0. Otherwise it returns -1 and sets errno to indicate the error. ERRORS
The setflabel() function fails and the file is unchanged if: EACCES Search permission is denied for a component of the path prefix of path. The calling process does not have mandatory write access to the final component of path because the sensitivity label of the final component of path does not dominate the sensitivity label of the calling process and the calling process does not have PRIV_FILE_MAC_WRITE in its set of effective privileges. EBUSY There is an open file descriptor reference to the final component of path. ECONNREFUSED A connection to the label daemon could not be established. EEXIST A file with the same name exists in the destination directory. EINVAL Improper parameters were received by the label daemon. EISDIR The existing file is a directory. ELOOP Too many symbolic links were encountered in translating path. EMLINK The existing file is hardlinked to another file. ENAMETOOLONG The length of the path argument exceeds PATH_MAX. ENOENT The file referred to by path does not exist. EROFS The file system is read-only or its label is ADMIN_LOW or ADMIN_HIGH. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------+-----------------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------+-----------------------------------+ |Interface Stability | Committed | +-----------------------+-----------------------------------+ |MT-Level | MT-Safe | +-----------------------+-----------------------------------+ SEE ALSO
libtsol(3LIB), attributes(5) Setting a File Sensitivity Label in Solaris Trusted Extensions Developer's Guide NOTES
The functionality described on this manual page is available only if the system is configured with Trusted Extensions. SunOS 5.11 20 Jul 2007 setflabel(3TSOL)