No `hostname` within `protocol`?

Jana Babovakova jana.babovakova at nic.cz
Wed Feb 12 12:23:29 CET 2025


Hi Bernd.

Yes, you're right. BIRD does not currently support setting the hostname 
at the protocol level, only at the global level.

But as this is a trivial and useful feature request, we will implement it.
You can expect this option in a new BIRD release in the near future.

Have fun!
Jana

Jana Babovakova | BIRD Tech Support | CZ.NIC, z.s.p.o.

On 11. 02. 25 22:35, Bernd Naumann wrote:
> 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 --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20250212/39cfa4e1/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5877 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20250212/39cfa4e1/attachment.p7s>


More information about the Bird-users mailing list