Page MenuHomeVyOS Platform

Add global-parameters name-server for dhcpv6-server
Closed, ResolvedPublicFEATURE REQUEST

Description

Adding global option "global-parameters name-server" for dhcpv6-server

vyos@r-roll01# set service dhcpv6-server global-parameters 
Possible completions:
+  name-server  IPv6 address of a Recursive DNS Server

Details

Version
-
Is it a breaking change?
Perfectly compatible

Event Timeline

PR https://github.com/vyos/vyos-1x/pull/756

vyos-confg

set interfaces ethernet eth1 address '2001:db8::1/48'
set service dhcpv6-server global-parameters 'option dhcp6.name-servers 2001:db8::1;'
set service dhcpv6-server shared-network-name SHARED subnet 2001:db8::/48

dhcpdv6.conf

# global-parameters in the CLI and have not been validated !!!
option dhcp6.name-servers 2001:db8::1;

# Shared network configration(s)
shared-network SHARED {
    subnet6 2001:db8::/48 {
    }
    on commit {
        set shared-networkname = "SHARED";
    }
}
Viacheslav renamed this task from Add global-parameters for dhcpv6-server to Add global-parameters name-server for dhcpv6-server.Mar 2 2021, 8:56 PM
Viacheslav updated the task description. (Show Details)

Updated PR
I replace raw dhcpv6 global-parameters with leafNode.

set interfaces ethernet eth1 address '2001:db8::1/48'
set service dhcpv6-server global-parameters name-server '2001:db8::1'
set service dhcpv6-server global-parameters name-server '2001:db8::2'
set service dhcpv6-server shared-network-name SHARED subnet 2001:db8::/48
c-po assigned this task to Viacheslav.
c-po moved this task from Need Triage to Finished on the VyOS 1.3 Equuleus board.