Vadims06 / topolograph

Topolograph.com is an online project which can visualize OSPF/ISIS topology based on LSDB output from a single network device. Then you can not only see (and check) the shortest path from source to destination, but also see the outcome from link or node failure along the path to the destination.
https://topolograph.com
MIT License
177 stars 23 forks source link

DNS for big networks #7

Closed laimaretto closed 3 years ago

laimaretto commented 3 years ago

Hi! So if I have a small network, I can then go to the DNS section and type in the names of the routers.

But I've been trying some big networks (+500 nodes) and doing so by hand is rather a difficult task.

image

Is there another option to accomplish this? May be I'm missing something ...

Thanks!

Vadims06 commented 3 years ago

Hi @laimaretto. If you use topolograph container there is docker-compose.override.yml file where you can set DNS IP address. After this when you upload hosts next time - their OSPF RID will be changed by their names. Please check files structure in topolograph container repo

laimaretto commented 3 years ago

Hi @Vadims06 . Yes, I'm using the docker version and I've seen how to set up the DNS IP address in the docker-compose.override.yml file. Thanks for that. I was wondering if there was a chance of using, for example, the /etc/hosts file or reading a local file, which is simpler than setting up a local DNS server (like bind). I will however have a look on how to install a local dns server in my laptop ... thanks again! cheers!

Vadims06 commented 3 years ago

@laimaretto, you know, because of a container nature- container's processes are separated from host's files, disks, or network. That's why topolograph's app doesn't have access to /etc/hosts of the host's server. Actually, I came up with another idea. Probably you have DCIM system like Netbox. If so it feasible to get domain name binding from that system.

laimaretto commented 3 years ago

@Vadims06 , I like the idea of using a DCIM. I don't have Netbox, however I do have RackTables, for the same purpose. I can gather information from RackTables by means of SQL ... would that work?

Vadims06 commented 3 years ago

@laimaretto, I though that I could write API connector to RackTables, but as it was discovered RackTables has API to his SQL database ( rather strange solution ). So I implemented CSR Import option image where you can paste exported from RackTables data in CSV format 10.1.1.1,router_1 image When import has been finished - required hostnames will be saved in Topolograph ;) image

Vadims06 commented 3 years ago

Hi @laimaretto, Just for you info - I released topolograph:v2.17 where I added assignment devices to their groups and then - color graph. v2 17 So I'm closing this Issue. I was glad to work on it.

laimaretto commented 3 years ago

Hi @Vadims06 ! Very sorry for this late response. But wanted to give you feedback nevertheless. I didn't try it personally, but a colleague of mine has tried the CSV as a DNS replacement and it is working like a charm! Thanks for this update! We appreciate it. Cheers! Lucas

Vadims06 commented 3 years ago

Hi @laimaretto, thank you for your feedback! Be in touch!