Solved

DNS on switch Vlans

Posted on 2008-10-10
2
214 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
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…

810 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