Update the text representations of IPv6 addresses.
2. The "dns64-prefix" directive indicates your DNS64 prefix. For example:
- dns64-prefix: 64:FF9B::/96
+ dns64-prefix: 64:ff9b::/96
The prefix must be a /96 or shorter.
do-nat64: yes
The NAT64 prefix defaults to the DNS64 prefix, which in turn defaults to the
-standard 64:FF9B::/96 prefix. You can reconfigure it with:
+standard 64:ff9b::/96 prefix. You can reconfigure it with:
- nat64-prefix: 64:FF9B::/96
+ nat64-prefix: 64:ff9b::/96
To test NAT64 operation, pick a domain that only has IPv4 reachability for its
nameservers and try resolving any names in that domain.
# interface: 192.0.2.153
# interface: 192.0.2.154
# interface: 192.0.2.154@5003
- # interface: 2001:DB8::5
+ # interface: 2001:db8::5
# interface: eth0@5003
# enable this feature to copy the source address of queries to reply.
# server from by ip-address. If none, the default (all) interface
# is used. Specify every interface on a 'outgoing-interface:' line.
# outgoing-interface: 192.0.2.153
- # outgoing-interface: 2001:DB8::5
- # outgoing-interface: 2001:DB8::6
+ # outgoing-interface: 2001:db8::5
+ # outgoing-interface: 2001:db8::6
# Specify a netblock to use remainder 64 bits as random bits for
# upstream queries. Uses freebind option (Linux).
- # outgoing-interface: 2001:DB8::/64
+ # outgoing-interface: 2001:db8::/64
# Also (Linux:) ip -6 addr add 2001:db8::/64 dev lo
# And: ip -6 route add local 2001:db8::/64 dev lo
# And set prefer-ip6: yes to use the ip6 randomness from a netblock.
# interface-action: 192.0.2.153 allow
# interface-action: 192.0.2.154 allow
# interface-action: 192.0.2.154@5003 allow
- # interface-action: 2001:DB8::5 allow
+ # interface-action: 2001:db8::5 allow
# interface-action: eth0@5003 allow
# Similar to 'access-control-tag:' but for interfaces.
interface: 0.0.0.0
interface: ::0
access\-control: 10.0.0.0/8 allow
- access\-control: 2001:DB8::/64 allow
+ access\-control: 2001:db8::/64 allow
.ft P
.fi
.UNINDENT
Configure local data shorthand for a PTR record with the reversed IPv4 or
IPv6 address and the host name.
For example \fB\(dq192.0.2.4 www.example.com\(dq\fP\&.
-TTL can be inserted like this: \fB\(dq2001:DB8::4 7200 www.example.com\(dq\fP
+TTL can be inserted like this: \fB\(dq2001:db8::4 7200 www.example.com\(dq\fP
.UNINDENT
.INDENT 0.0
.TP
interface: 0.0.0.0
interface: ::0
access-control: 10.0.0.0/8 allow
- access-control: 2001:DB8::/64 allow
+ access-control: 2001:db8::/64 allow
.. _unbound.conf.clauses:
Configure local data shorthand for a PTR record with the reversed IPv4 or
IPv6 address and the host name.
For example ``"192.0.2.4 www.example.com"``.
- TTL can be inserted like this: ``"2001:DB8::4 7200 www.example.com"``
+ TTL can be inserted like this: ``"2001:db8::4 7200 www.example.com"``
@@UAHL@unbound.conf@local-zone-tag@@: *<zone> <"list of tags">*
unit_assert(strcmp(astr, "1.2.3.0") == 0);
unit_assert(ntohs(((struct sockaddr_in*)&a)->sin_port)==53);
- res = netblockstrtoaddr("2001:DB8:33:44::/64", 53,
+ res = netblockstrtoaddr("2001:db8:33:44::/64", 53,
&a, &alen, &net);
unit_assert(res!=0 && net == 64);
addr_to_str(&a, alen, astr, sizeof(astr));
# specify every interface on a new 'interface:' labelled line.
interface: 192.0.2.153
interface: 192.0.2.154
- interface: 2001:DB8::5
+ interface: 2001:db8::5
# port to answer queries from
port: 53
# specify every interface on a new 'interface:' labelled line.
interface: 192.0.2.153
interface: 192.0.2.154
- interface: 2001:DB8::5
+ interface: 2001:db8::5
interface: 0.0.0.0@5353
# config
host1.blaat.nl. IN NID 10 0014:4fff:ff20:ee64
host1.blaat.nl. IN L32 10 10.1.2.0
-host1.blaat.nl. IN L64 10 2001:0DB8:1140:1000
+host1.blaat.nl. IN L64 10 2001:db8:1140:1000
host1.blaat.nl. IN LP 10 l64-subnet1.blaat.nl.
;error1 IN NID 1 00fg:4fff:ff20:ee64