Visit Our UNIX and Linux User Community

Network mapper based on zone files ?

Thread Tools Search this Thread
Special Forums IP Networking Network mapper based on zone files ?
# 1  
Old 05-31-2011
Question Network mapper based on zone files ?

Good morning,

Say I have a zone file like this:
Code:      86400   IN      A      86400   IN      A               86400   IN      NS   86400   IN      A               86400   IN      NS               86400   IN      NS               86400   IN      NS               86400   IN      NS               86400   IN      MX      10               86400   IN      MX      30          86400   IN      NS

I am looking for network-mapper type software that would read the zone file and produce a graphical representation (Visio-style) of the network, along with IP addresses and respective ranges.

This is to have a clearer view of the whole network setup.
For instance, I would like to have a breakdown of all hosts by IP range.
Basically, I would need to resolve hostname entries (based on zone file records or ripe/arin) then join together the hosts that belong to the same range.

Classic network mapper applications are not suitable for my need as they are based on host discovery techniques and run on your LAN.
This is for a somewhat large organization and they use a couple subdomains too. I also have several zones for the subdomains.
The organization has presence in a few countries and owns a few IP blocks, and a number of websites are also with webhosts.

I was wondering if I could possibly get software recommendations to get the job done Smilie
I was going to write some bash but maybe there is no need to reinvent the wheel Smilie

Thanks Smilie
# 2  
Old 06-01-2011
Just rearrainging the A records, with awk or sed, and sorting is a good start.
# 3  
Old 06-07-2011
Once sorted, you can indent them in groups by network or domain.

Previous Thread | Next Thread
Test Your Knowledge in Computers #180
Difficulty: Medium
The Apple II was invented by Steve Jobs.
True or False?

10 More Discussions You Might Find Interesting

1. Solaris

Solaris 11 zone has no external network access (except to Global Zone)

Hi, hoping someone can help, its been a while since I used Solaris. After creating a NGZ (non global zone), the NGZ can access the GZ (Global Zone) and the GZ can access the NGZ (using ssh, zlogin) However, the NGZ cannot access any other netwqork devices, it can't even see the default router ... (2 Replies)
Discussion started by: GazinLincoln
2 Replies

2. Solaris

Configure Solaris zone on new network

Hi, I have a Solaris 10 zone which I need to configure on a new network. I have configured the new IP on the zone itself and I can ping the interface from a node on the same network, but not from another network. Basically I need to know how to route the traffic from the zone to it's... (3 Replies)
Discussion started by: sparcman
3 Replies

3. Solaris

Solaris non-global zone network vlan

Have 2 nics on physical system net0 phys 1500 up -- net1 phys 1500 up -- 1. I want to create a link aggregation with LACP enabled with above 2 nics 2. Create port-group(Like we create on ESXi) with VLAN-ID 2141 3. And assign this... (0 Replies)
Discussion started by: Shirishlnx
0 Replies

4. Solaris

Unable to get Solaris 11 Zone onto the network

Hello, I followed these instructions to create a Solaris 11 zone: And I am unable to ping anything from the Local Zone except for the IP address of the global zone. My global zone has an IP... (6 Replies)
Discussion started by: unblockable
6 Replies

5. Solaris

Branded Solaris 10 zone no network

I am trying to create a branded 10 zone on a Solaris 11.1 control domain. I am using a flar image (cpio) from an existing LDOM. Here are the steps taken after flarcreate. #zonecfg -z <device> >create -b >set brand=solaris10 >set zonepath=/zonez/<device> >set ip-type=exclusive >add net... (1 Reply)
Discussion started by: aeroforce
1 Replies

6. Solaris

Network Config on Zone in a Guest LDOM

Solaris for Sparc 11.1 with the latest patches. Created a Guest LDOM with two vnet's net0 and net1, installed a guest whole root, ip exclusive zone that I want to be able to utilize DHCP. I have been able to create the zone but unable to get it to boot because I am unable to assign an anet to it.... (4 Replies)
Discussion started by: os2mac
4 Replies

7. Shell Programming and Scripting

Generate zone files based off subnet

Hi, I'm attempting to generate zone files based off the subnet address of a reverse zone. For example... My text file contains the following.. I want to create a separate file for each of the listed blocks. Each file should contain... (1 Reply)
Discussion started by: spartan22
1 Replies

8. UNIX for Advanced & Expert Users

Transition from Windows-based network to Linux-based

I am looking to make the switch from a Windows based network to a Linux (preferably Ubuntu, because I used it the most) based one. Currently the network includes a Windows 2003 server which acts as a domain controller and file server, a network shared printer (Canon 2300N) and 7 clients running... (2 Replies)
Discussion started by: larynx
2 Replies

9. Solaris

Zone network issue

Hi guys, I got a global zone with with two zones runnig. After a patch upgrade (July 2010) one of them stop to working fine: basically I can't ping it ( I mean I can ping from the other zone, but actually the ping pass across the global zone..) and I can't access it in ssh or telnet...(actually... (0 Replies)
Discussion started by: cecco16
0 Replies

10. Solaris

Solaris 10 network configuration problem with zone

I am seeking help from the gurus in this forum and hope that I can find answers soon. Anyone who provide the answers will be greatly appreciated. I have a sparc box with Solaris 10 on it. We install Solaris with zone structure. One global zone and two other zone. I installed Oracle DB on global... (6 Replies)
Discussion started by: duke0001
6 Replies

Featured Tech Videos