01-18-2010
Retrieve all DNS zones (domains) from local server
Hello,
I am trying to retrieve all DNS zones from the local bind server without parsing the /var/named folder, removing .db from the zone file names and the special zones files. I am looking for some kind of named, dig etc command that would retrieve all domains from the server eventually with the corresponding site's IP (this is less important) like this (just the command and the params):
domain1 ip
domain2 ip
....
There are some 600 accounts and probably close to 1000 domains. There is cPanel installed on the server.
The final purpose is to have a list with all domains: active, moved, expired etc because we'll move them to a different server and we want a very precise list with all of them. I am a beginner with bash scripting.
Thanks and regards!
Last edited by AndyB78; 01-18-2010 at 09:01 AM..
9 More Discussions You Might Find Interesting
1. News, Links, Events and Announcements
We have had a great experience recently with these folks:
http://www.zoneedit.com/
and highly recommend them.
You can set up and manage the DNS for five free domains there, both primary and secondary. (0 Replies)
Discussion started by: Neo
0 Replies
2. Programming
Hi all,
I am writing a program to retrieve the IP address or machine name of the local machine using C.
Is there any C function that does this?
ny clue will be of gr8 help!!!
thanx a lot. (1 Reply)
Discussion started by: mridula
1 Replies
3. Solaris
Hi ,
Could some one please share some docs or steps to set up solaris box as a local DNS .
Thx (1 Reply)
Discussion started by: skamal4u
1 Replies
4. Solaris
Hi guys,
I just got a new job. I'm working in an ISP and Datacenter, we have 2 DNS servers, a LINUX (primary), and a SUNOS (secondary). A few days ago we had an issue with some non-authoritative domains(not all, just some) in the SUNOS that can't be resolved.
The same domain in the LINUX box is... (2 Replies)
Discussion started by: binover
2 Replies
5. UNIX for Advanced & Expert Users
I'd like to get some opnions on choosing DNS server:
Windows DNS vs Linux BIND comparrsion:
1) managment, easy of use
2) Security
3) features
4) peformance
5) ??
I personally prefer Windows DNS server for management, it supports GUI and command line. But I am not sure about security... (2 Replies)
Discussion started by: honglus
2 Replies
6. Solaris
Hi,
Is it possible to enable the time service in local zones?
E.g.
erahmanz1% svcs -a | grep -i time
STATE STIME FMRI
disabled Sep_10 svc:/network/daytime:dgram
disabled Sep_10 svc:/network/daytime:stream
disabled Sep_10 svc:/network/time:dgram... (2 Replies)
Discussion started by: ERahman
2 Replies
7. IP Networking
I am trying to install a replacement mail server. On the old machine,
nslookup example.com returns 192.168.100.5 instead of its real ip of 207.139......
On the new machine, which I have presumably set up the same way; I compared the data in the gui dnsconfig on both machines, I get an error... (0 Replies)
Discussion started by: jgt
0 Replies
8. Solaris
Hi,
We have built a new server (RHEL VM)and added that IP/hostname into dns zone configs file on DNS server (Solaris 10). Reloaded the configuration using
and added nameserver into resolv.conf on client. But when I am trying nslookup, its not getting resolved. The nameserver is not able to... (8 Replies)
Discussion started by: snchaudhari2
8 Replies
9. Solaris
Hi,
I was wondering if any Solaris fellow out there has dealt with running Solaris 11 x86 on Local Zones for Oracle RAC (which may or may not be relevant to issue), running on HP gen h/w. Every so often could be weeks between issues or some times days, there will be a memory corruption and db... (2 Replies)
Discussion started by: crossmypath
2 Replies
LEARN ABOUT OPENSOLARIS
brands
brands(5) Standards, Environments, and Macros brands(5)
NAME
brands - alternate operating environments for non-global zones
DESCRIPTION
The branded zone (BrandZ) framework extends the Solaris Zones infrastructure described in zones(5) to include the creation of brands, which
provide non-global zones that contain non-native operating environments.
The term "brand" can refer to a wide range of operating environments. All brand management is performed as extensions to the current zones
structure.
Every zone is configured with an associated brand. The brand type is used to determine which scripts are executed when a zone is installed
and booted. In addition, a zone's brand is used to properly identify the correct application type at application launch time. The default
is the native brand.
A branded zone will support exactly one brand of non-native binary, which means that a branded zone provides a single operating environ-
ment. Once a zone has been assigned a brand, that brand cannot be changed or removed.
BrandZ extends the zones tools in the following ways:
o A brand is an attribute of a zone, set at zone create time.
o The zonecfg tool (see zonecfg(1M)) is used to set a zone's brand type and configure the zone.
o The zoneadm tool (see zoneadm(1M)) is used to report a zone's brand type and administer the zone.
Device Support
The devices supported by each zone are documented in the man pages and other documentation for that brand. The zones infrastructure detects
any attempt to add an unsupported device and issues a warning to the administrator. If the administrator chooses to add an unsupported
device despite that warning, that device might or might not work as expected. The configuration will be untested and unsupported.
ATTRIBUTES
See attributes(5) for a description of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWzoneu |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
SEE ALSO
mdb(1), zlogin(1), zonename(1), dtrace(1M), in.rlogind(1M), sshd(1M), zoneadm(1M), zonecfg(1M), kill(2), priocntl(2), getzoneid(3C),
ucred_get(3C), getzoneid(3C), proc(4), attributes(5), lx(5), native(5), privileges(5), zones(5), lx_systrace(7D), crgetzoneid(9F)
SunOS 5.11 13 Feb 2009 brands(5)