Network mapper based on zone files ? | Unix Linux Forums | IP Networking

  Go Back    


IP Networking Learn TCP/IP, Internet Protocol, Routing, Routers, Network protocols in this UNIX and Linux forum.

Network mapper based on zone files ?

IP Networking


Tags
file, mapper, network, zone

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 05-31-2011
BigBro's Avatar
BigBro BigBro is offline
Registered User
 
Join Date: Dec 2000
Last Activity: 22 April 2012, 5:18 PM EDT
Location: 127.0.0.1
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Question Network mapper based on zone files ?

Good morning,

Say I have a zone file like this:

Code:
ns.chicago.company.com.      86400   IN      A       212.168.12.15
ns.casper.company.com.      86400   IN      A       212.168.14.15
company.com.               86400   IN      NS      ns.aux.company.com.
ns.aux.company.com.   86400   IN      A       148.106.119.1
company.com.               86400   IN      NS      secondary.company.com.
company.com.               86400   IN      NS      ns1.hostone.com.
company.com.               86400   IN      NS      ns2.hostone.com.
company.com.               86400   IN      NS      ns3.hostone.com.
company.com.               86400   IN      MX      10 mail.company.com.
company.com.               86400   IN      MX      30 mail2.company.com.
tma.company.com.          86400   IN      NS      dns.cci.company.com.

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
I was going to write some bash but maybe there is no need to reinvent the wheel

Thanks
Sponsored Links
    #2  
Old 06-01-2011
DGPickett DGPickett is offline Forum Advisor  
Registered User
 
Join Date: Oct 2010
Last Activity: 29 August 2014, 5:00 PM EDT
Location: Southern NJ, USA (Nord)
Posts: 4,409
Thanks: 8
Thanked 538 Times in 516 Posts
Just rearrainging the A records, with awk or sed, and sorting is a good start.
Sponsored Links
    #3  
Old 06-07-2011
DGPickett DGPickett is offline Forum Advisor  
Registered User
 
Join Date: Oct 2010
Last Activity: 29 August 2014, 5:00 PM EDT
Location: Southern NJ, USA (Nord)
Posts: 4,409
Thanks: 8
Thanked 538 Times in 516 Posts
Once sorted, you can indent them in groups by network or domain.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Transition from Windows-based network to Linux-based larynx UNIX for Advanced & Expert Users 2 02-11-2011 03:27 PM
Zone network issue cecco16 Solaris 0 10-15-2010 09:28 AM
How to assign a dedicated network interface to a non-global zone? Sesha Solaris 2 08-20-2010 07:27 AM
Getting date output based on time zone jmathew99 Shell Programming and Scripting 1 04-27-2010 01:07 PM
Solaris 10 network configuration problem with zone duke0001 Solaris 6 10-12-2007 10:02 AM



All times are GMT -4. The time now is 07:27 PM.