bmx-routing / bmx7

BMX7 / SEMTOR Securely Entrusted Mesh Routing Protocol
GNU General Public License v2.0
63 stars 15 forks source link

add shortId and name to dns #16

Closed aparcar closed 6 years ago

aparcar commented 6 years ago

It would be nice to add the shortId and hostnames as DNS entries pointing to the crypto IPv6. This can be archived with the following command, but maybe there's a cleaner way?

bmx7 -c originators | tail -n +3 | awk '{ print $13" "$13 }' > /tmp/hosts/bmx7_shortId
bmx7 -c originators | tail -n +3 | awk '{ print $13" "$12 }' > /tmp/hosts/bmx7_hostname
/etc/init.d/dnsmasq reload
axn commented 6 years ago

Duplicate https://github.com/openwrt/packages/pull/5923