-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvdedns.cfg
85 lines (81 loc) · 1.63 KB
/
vdedns.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
//Master DNS servers, required for forwarding
/*
dns_servers = (
"1.1.1.1",
"80.80.80.80"
);
*/
//Special domains that vdedns will solve by hashing
//according to parameters
/*
rules = {
hash = (
"hashdomain.vde"
);
otip = (
{
dom="otipdomain.vde";
pswd="secret";
time=32;
}
);
};
*/
//Local address records that vdedns will solve
//with no forwarding
/*
records = (
{
dom="hashdomain.vde";
ip6=("fc00:4242::17");
},
{
dom="otipdomain.vde";
ip6=("fc00:4242::13");
},
{
dom="vdednstest.vde";
ip4=("10.9.8.7");
ip6=("fc00:a987::1");
}
);
*/
//Virtual interfaces setup using iothconf
//Use 'both' to have both accepting and querying socket on same stack
//Else use 'dns' and 'query' separated fields.
/*
vinterface = {
both = {
type="vdestack";
vnl="vxvde://234.0.0.1";
config="eth,ip=10.0.0.1/24,ip=fc00:aaaa::1/64,gw=10.0.0.254,fqdn=local.dns.fwd";
};
dns = {
type="vdestack";
vnl="vxvde://234.0.0.1";
config="eth,ip=10.0.0.1/24,ip=fc00:aaaa::1/64,gw=10.0.0.254,fqdn=local.dns.fwd";
};
query = {
type="vdestack";
vnl="vxvde://234.0.0.1";
config="eth,ip=10.0.0.2/24,ip=fc00:aaaa::2/64,gw=10.0.0.254,fqdn=local.dns.query";
};
};
*/
//Allowed domains when using --auth
/*
authorization = (
{
ip="192.168.0.0";
mask="255.255.0.0";
},
{
ip="127.0.0.0";
mask="255.255.255.0";
},
{
ip="fc00:aaaa::42";
mask="ffff:ffff:ffff:ffff::";
}
);
*/