Solved

DNS on switch Vlans

Posted on 2008-10-10
2
213 Views
Last Modified: 2010-04-21
Howdy,
  Question for you all.. :)

I have many switches that I have to manage. Is it possible to put my vlan 1 IP addresses into a dns server. So when I do a ping sweep it will pull with it not only the IP but the Hostname of that vlan 1. This will help me instead of going into each of my switches to get the hostname I can just pull it from DNS. And it will make it alot easier in the future. I hope this didn't confuse anyone..
0
Comment
Question by:Paktusjet
2 Comments
 
LVL 25

Accepted Solution

by:
Cyclops3590 earned 125 total points
ID: 22691930
so what you are going for is that you have a script that queries your network for active devices on your VLAN 1 segment.  It then takes the IP, find the hostname and puts it into your DNS server.

is this about right?  The other part is what type of DNS do you have?  Or do you need DNS at all?

Reason I ask is I'm thinking about what I use at work.  We have a MySQL DB with our network devices in it.  Just has their name and their IP.  This way you could write a script that can find these devices on the network, do an snmp poll for the hostname and add it to the DB if its new.  Then what you can do is write another script for access.  For example, if you want to use that DB to telnet/ssh to the device, have the script accept an argument (the hostname you want to connect to) query the dB for that name and return the IP.  Then it can use that IP to run the telnet/ssh command.

Just a though anyway.
0
 
LVL 2

Author Closing Comment

by:Paktusjet
ID: 31505186
forgot all about SNMP :) I configured it so it will poll the hostname and it worked like a charm :)
0

Featured Post

Give your grad a cloud of their own!

With up to 8TB of storage, give your favorite graduate their own personal cloud to centralize all their photos, videos and music in one safe place. They can save, sync and share all their stuff, and automatic photo backup helps free up space on their smartphone and tablet.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
How to set-up an On Demand, IPSec, Site to SIte, VPN from a Draytek Vigor Router to a Cyberoam UTM Appliance. A concise guide to the settings required on both devices
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now