Solved

DNS on switch Vlans

Posted on 2008-10-10
2
212 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
Comment Utility
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
Comment Utility
forgot all about SNMP :) I configured it so it will poll the hostname and it worked like a charm :)
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Even if you have implemented a Mobile Device Management solution company wide, it is a good idea to make sure you are taking into account all of the major risks to your electronic protected health information (ePHI).
If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
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…

743 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

15 Experts available now in Live!

Get 1:1 Help Now