Commit 2ef8b16c authored by chrissi^'s avatar chrissi^
Browse files

radvd: announce IPv6 of VPN-node as DNS-Server

Using this change an VPN-node announces it's own IPv6 as DNS server.
/tmp/addr6 is written by nodeoute.lua during runtime configuration.
Signed-off-by: chrissi^'s avatarChrissi^ <>
parent f9272709
......@@ -3,12 +3,14 @@
local site = require ""
local f ="/tmp/range6","r")
if f then
local g ="/tmp/addr6", "r")
if f and g then
local range6 = f:read('*a')
local addr6 = g:read('*a')
io.write("-i br-client -p " .. range6)
if site.dns.servers() and site.next_node.ip6() then
io.write(" --rdnss " .. site.next_node.ip6())
io.write("-i br-client -p " .. range6)
io.write(" --rdnss " .. addr6)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment