<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Hi Bernd.<br>
<br>
Yes, you're right. BIRD does not currently support setting the
hostname at the protocol level, only at the global level.<br>
<br>
But as this is a trivial and useful feature request, we will
implement it.<br>
You can expect this option in a new BIRD release in the near future.<br>
<br>
Have fun!<br>
Jana<br>
<br>
<pre class="moz-signature" cols="72">Jana Babovakova | BIRD Tech Support | CZ.NIC, z.s.p.o.</pre>
<div class="moz-cite-prefix">On 11. 02. 25 22:35, Bernd Naumann
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:cd4e0667-6542-4b4f-b73b-1116d6f4df6e@kr217.de">
<pre wrap="" class="moz-quote-pre">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.`.
</pre>
</blockquote>
<br>
</body>
</html>