No `hostname` within `protocol`?

Bernd Naumann bernd at kr217.de
Tue Feb 11 22:35:20 CET 2025


Hey!

I wanted to set `hostname "foo";` within `template bgp ... { ... };` and
got `syntax error, unexpected HOSTNAME`.

As a workaround I can set the hostname on the global level but I would
like to see that's possible to set hostname on a protocol level.

My use-case (that's why I stumbled upon it) is that I've been connected
to dn42 and wanted to announce `cpe.bernd.dn42` on my peers and not just
the systems `cpe`, or it's unhelpful fqdn `cpe.home.arpa`.[1]

I'm running BIRD version 2.15.1 on OpenWrt 23.05.5.

Thanks!
Bernd



[1] Yes, I do really like `home.arpa.`.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: OpenPGP digital signature
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20250211/7004b894/attachment.sig>


More information about the Bird-users mailing list