Closed laimaretto closed 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
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!
@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.
@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?
@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
where you can paste exported from RackTables data in CSV format 10.1.1.1,router_1
When import has been finished - required hostnames will be saved in Topolograph ;)
Hi @laimaretto, Just for you info - I released topolograph:v2.17 where I added assignment devices to their groups and then - color graph. So I'm closing this Issue. I was glad to work on it.
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
Hi @laimaretto, thank you for your feedback! Be in touch!
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.
Is there another option to accomplish this? May be I'm missing something ...
Thanks!