Another way could be to query the api of netmaker ...
# general
c
Another way could be to query the api of netmaker and build a dns hosts file on a host != netmaker host