krbvroc1
New Around Here
I have a very basic request. I need to override radvd.conf so that I can replace the RDNSS with the local link of the router, rather than the ipv6 servers the ISP tells us about. This is required if you want dnsmasq to be used for resolving domains (especially if you have local domain search enabled). On a dual stack machine all your dnsmasq.conf work is bypassed when radvd gives out the ISP DNS server rather than the local dnsmasq one.
(Disabling radvd and using dnsmasq is a partial option, but not there yet).
I propose a new 'filter' is needed. Instead of the simplistic append config or replace config file, a script should be called which gives the opportunity for dynamic modification of the config file.
For example, take /etc/radvd.conf. Using an 'append config' is useless since the syntax of the file is structured. Using a 'replace config' is not very helpful because radvd rewrites the /etc/radvd.conf file when dhcp6s gets a new ipv6 lease from the ISP.
So what is need is a way to take the existing file and process it via a script where things like 'sed' / 'awk' and 'nvram get' can be used to modify it.
(Disabling radvd and using dnsmasq is a partial option, but not there yet).
I propose a new 'filter' is needed. Instead of the simplistic append config or replace config file, a script should be called which gives the opportunity for dynamic modification of the config file.
For example, take /etc/radvd.conf. Using an 'append config' is useless since the syntax of the file is structured. Using a 'replace config' is not very helpful because radvd rewrites the /etc/radvd.conf file when dhcp6s gets a new ipv6 lease from the ISP.
So what is need is a way to take the existing file and process it via a script where things like 'sed' / 'awk' and 'nvram get' can be used to modify it.
Last edited: