Using IPv6 with Custom and Secondary DNS
source: http://www.dyndns.com/support/kb/ipv6_with_custom_secdns.html
As part of Dyn Inc.’s IPv6 implementation plan, DynDNS.com has recently made a new IPv6 nameserver available for Custom DNS and Secondary DNS customers. Whether you’re looking to get a jump on the transition to IPv6 or you’re simply curious, we’ve created this short tutorial to help you make use of the new nameserver.
Disclaimer
Before we begin, please note that the information in this article is purely for testing and educational purposes. DynDNS.com does not currently guarantee the availability of its IPv6 test servers, so please exercise caution when adding them to the delegation of a domain. Additionally, this article does not provide instructions for configuring IPv6 in your environment, and assumes that you have already done so.
Router Advertisement Daemon (radvd)
Router Advertisement Daemon (radvd)
The router advertisement daemon is very useful on a LAN, if clients should be auto-configured. The daemon itself should run on the Linux default IPv6 gateway router (it’s not required that this is also the default IPv4 gateway, so pay attention who on your LAN is sending router advertisements).
You can specify some information and flags which should be contained in the advertisement. Common used are:
- Prefix (needed)
- Lifetime of the prefix
- Frequency of sending advertisements (optional)
After a proper configuration, the daemon sends advertisements through specified interfaces and clients are hopefully receive them and auto-magically configure addresses with received prefix and the default route.
Configuring radvd
Simple configuration
Radvd’s config file is normally /etc/radvd.conf. An simple example looks like following:
interface eth0 { AdvSendAdvert on; MinRtrAdvInterval 3; MaxRtrAdvInterval 10; prefix 2001:0db8:0100:f101::/64 { AdvOnLink on; AdvAutonomous on; AdvRouterAddr on; }; };
This results on client side in
# ip -6 addr show eth0 3: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 100 inet6 2001:0db8:100:f101:2e0:12ff:fe34:1234/64 scope global dynamic valid_lft 2591992sec preferred_lft 604792sec inet6 fe80::2e0:12ff:fe34:1234/10 scope link
Because no lifetime was defined, a very high value was used.
IPv6 without tunnel broker on linux
Disabling IPv6 for Linux distributions
Nginx IPV6
Download nginx rpm SOURCE
http://centos.alt.ru/pub/nginx/0.8/RHEL/SRPMS/nginx-0.8.46-1.el5.src.rpm
Install rpm source
# rpm -Uvh nginx-0.8.46-1.el5.src.rpm
Chnage to rpm spec directory
# cd /path/to/rpm/spec/dir
Edit nginx.spec and add –with-ipv6 at configure section. IE:
./configure \ --user=%{nginx_user} \ --group=%{nginx_group} \ --prefix=%{nginx_datadir} \ --sbin-path=%{_sbindir}/%{name} \ --conf-path=%{nginx_confdir}/%{name}.conf \ --error-log-path=%{nginx_logdir}/error.log \ --http-log-path=%{nginx_logdir}/access.log \ --http-client-body-temp-path=%{nginx_home_tmp}/client_body \ --http-proxy-temp-path=%{nginx_home_tmp}/proxy \ --http-fastcgi-temp-path=%{nginx_home_tmp}/fastcgi \ --pid-path=%{_localstatedir}/run/%{name}.pid \ --lock-path=%{_localstatedir}/lock/subsys/%{name} \ --with-http_secure_link_module \ --with-http_random_index_module \ --with-http_ssl_module \ --with-http_realip_module \ --with-http_addition_module \ --with-http_sub_module \ --with-http_dav_module \ --with-http_flv_module \ --with-http_gzip_static_module \ --with-http_stub_status_module \ --with-http_perl_module \ --with-ipv6 \ --with-mail \ --with-mail_ssl_module \ --with-cc-opt="%{optflags} $(pcre-config --cflags)" \ --add-module=%{_builddir}/nginx-%{version}/nginx-upstream-fair \ --add-module=%{_builddir}/nginx-%{version}/nginx-upload-progress-module \ --add-module=%{_builddir}/nginx-%{version}/mod_zip-1.1.5 \ --add-module=%{_builddir}/nginx-%{version}/nginx_upload_module-2.0.12 \ --add-module=%{_builddir}/nginx-%{version}/nginx_mod_h264_streaming-2.2.7
Most Commonly Used ipv6 Command In My Windows XP Workstation
ipv6 if
This command displays interface information.
D:\Documents and Settings\harry>ipv6 if 7 Interface 7: Ethernet: Local Area Connection Guid {3FCF938D-344F-4515-8CA2-3FA8801C15C3} zones: link 7 site 2 uses Neighbor Discovery uses Router Discovery link-layer address: 00-19-d1-ea-ee-16 preferred global 2001:470:19:13c:219:d1ff:feea:ee16, life 29d23h59m59s/6d23h59m59s (public) preferred link-local fe80::219:d1ff:feea:ee16, life infinite multicast interface-local ff01::1, 1 refs, not reportable multicast link-local ff02::1, 1 refs, not reportable multicast link-local ff02::1:ffea:ee16, 2 refs, last reporter link MTU 1500 (true link MTU 1500) current hop limit 64 reachable time 19000ms (base 30000ms) retransmission interval 1000ms DAD transmits 1 default site prefix length 48
ipv6 rt
This command displays the current contents of the routing table.
D:\Documents and Settings\harry>ipv6 rt ::/0 -> 7/fe80::20c:29ff:fe1e:b535 pref 256 life 26s (autoconf) 2001:470:19:13c::/64 -> 7 pref 8 life 29d23h59m56s (autoconf)
Naked Woman On IPv6
I found interesting stuff today. While i was submiting daily tests for hurricane electric.certification, i got this whois result:
[Querying whois.ripe.net]
[whois.ripe.net]
% This is the RIPE Database query service.
% The objects are in RPSL format.
%
% The RIPE Database is subject to Terms and Conditions.
% See http://www.ripe.net/db/support/db-terms-conditions.pdf
% Note: This output has been filtered.
% To receive output for a database update, use the "-B" flag.
% Information related to '2001:820::/32'
inet6num: 2001:820::/32
netname: NO-WEBONLINE-20020712
descr: WebOnline A/S
country: NO
org: ORG-WAon1-RIPE
admin-c: JH914-RIPE
tech-c: WO1095-RIPE
mnt-by: RIPE-NCC-HM-MNT
mnt-lower: WEBONLINE
mnt-routes: WEBONLINE
status: ALLOCATED-BY-RIR
source: RIPE # FilteredWordPress HE IPv4 Exhaustion Counter Plugin
Defining delegated route /48 from Hurricane Electric in Appropriate way.
I’ve been thinking on how to create reverse zone for /64 subnet from delegated routed /48 from Hurricane Electric. First when i was first time request delegation for routed /48 i’ve defined this configuration on my nameservers
In named.conf
zone "7.e.8.f.0.7.4.0.1.0.0.2.ip6.arpa" { type master; file "reverse-2001-470-f8e7_48.IP6.ARPA"; };