problem starting bro with no dns

In my node.cfg, all of my hosts are set to localhost. I can start bro as root, but as a non root user with setcap privs, I get

error: unknown host ‘localhost’ for given node ‘manager’ [Temporary… name resolution]

Obviously localhost is in /etc/hosts. So why is it bro is having a problem with this? Not having a functional dns shouldn’t prevent bro from spawning, especially when the host given is just localhost. How can I deal with this issue?

Does it work if you edit node.cfg and change localhost to 127.0.0.1 ?

Yes, however localhost should automatically be understood irrespective of external dns calls. Especially since it is in /etc/hosts and getent hosts localhost works with a broken dns resolver…