?
Solved

DNS on switch Vlans

Posted on 2008-10-10
2
Medium Priority
?
221 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 25

Accepted Solution

by:
Cyclops3590 earned 500 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

Get MongoDB database support online, now!

At Percona’s web store you can order your MongoDB database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card. Handle your MongoDB database support now!

Question has a verified solution.

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

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
For many of us, the  holiday season kindles the natural urge to give back to our friends, family members and communities. While it's easy for friends to notice the impact of such deeds, understanding the contributions of businesses and enterprises i…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
Suggested Courses

752 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