Tell your network to explain itself and then some

22 points by confusedalex


m_eiman

My approach is:

Minimal configuration, everything stays up to date with no manual work. What's not to like?

benj

Oh wow, I felt very honored being quoted! 😅 But you are 100% right, a DHCP server that is able also interact with a DNS server is the way to go!

I have all my DHCP and DNS handled by RouterOS in my MikroTik router and also Adguard DNS as internet sanitizer...

What I absolutely loved from ARP is being able to map an unknown network quickly. I'm gonna take over managing the network of a small organization, and there little to no documentation... arp-scan is likely one of the first commands I'll run there!

A thing with arp-scan, it needs it's manufacturers database updated. It comes with get-oui, but IEEE broke it by disabling downloading the required files with scripts. It's simple enough to download the files, modify the script and run it. arp-scan is way more useful if the manufacturers column is not just a bunch of (unknown)!

https://github.com/royhills/arp-scan/blob/master/get-oui

atmosx

I use an FQDN but otherwise my setup is similar. TXT records is a great idea. I use ULAs for lan-only-IPv6 and block the connections from the ULAs to the internet and vice-versa.

meta: To control dns, e.g. route53, records there's this nice app called dnscontrol that is available through pkg_add. Using envsubst and cron DNS record registration can be automated. I'm publishing service port names as well, but that will become a blogpost at some point (when time allows)...

abi

https://netdisco.org/ does a good job finding all the devices in your network.