-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hostname and domainname for BGP peers #17119
Comments
|
Hi This is from the dnssdomainname man page: 'The DNS domain name is the part after the first dot.' ...
|
If we just follow this, then this is the easy FIX. Would you like to test this branch? |
Thanks. Will this allow me to set domainname in vtysh? and then save to frr.conf Does it do any checking, must match host domainname? |
Nope, it will just strip the first part before the dot and treat everything else as a domain name, that's it :) |
Ok, example case: If I wanted to configure a router to send 'localhost.localdomain' to BGP peer, I would add the following to frr.conf hostname localhost.localdomain |
Description
I'd like to configure the hostname and domainname sent to BGP peers.
Please see discussion: #16903
It seems that FRR needs to be able to use the output of: dnsdomainname
Version
How to reproduce
Try to configure domainname in FRR.
Expected behavior
FRR needs to inherit the value of the command dnsdomainname and be able to add it to frr.conf.
Actual behavior
I can't configure domainname in frr.
Additional context
No response
Checklist
The text was updated successfully, but these errors were encountered: