Solved

DNS on switch Vlans

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Simple Router Management, Subnets and VLANs e.g. RV0xx 7 72
Changing Lease Duration for DHCP clients 34 68
VPN Server 5 53
Wireless Authentication 3 22
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 …
When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
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…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

756 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