Your post title is a bit misleading, I think you're talking more about trying to speed up the process of finding nodes/peers?
All torrent clients including qBittorrent already have a built-in method of finding new DHT nodes and will find new nodes automatically. If the torrent client does not have any DHT nodes to contact yet (e.g. it's the first run and hasn't already compiled its own list of recent DHT node IP addresses) then what it does is reach out to DHT bootstrap node servers. Torrent clients usually have that coded in, sometimes you can change them - in qBittorrent you can go to Tools/Options/Advanced, under DHT Bootstrap Nodes you'll see the current list of well known bootstrap nodes that qBittorrent uses by default
dht.libtorrent.org:25401, dht.transmissionbt.com:6881, router.bittorrent.com:6881, router.utorrent.com:6881, dht.aelitis.com:6881
I think most/all torrent clients use the same ones.
Not sure how current this one is, the code to compile and run your own DHT bootstrap node server is on Github
https://github.com/bittorrent/bootstrap-dht
Back in 2016 Libtorrent launched its own bootstrap node server, it's now one of the default bootstrap node servers for most/all torrent clients.