From 6f4441e278e7ec7aae310f0dde5c2f980884c471 Mon Sep 17 00:00:00 2001 From: itojun Date: Tue, 6 May 2003 05:35:09 +0000 Subject: [PATCH] change address for IPv6 DNS servers. many of them are obsolete... --- distrib/utils/sysinst/menus.mi.en | 34 ++++++------------------------- distrib/utils/sysinst/menus.mi.fr | 34 ++++++------------------------- distrib/utils/sysinst/menus.mi.pl | 34 ++++++------------------------- 3 files changed, 18 insertions(+), 84 deletions(-) diff --git a/distrib/utils/sysinst/menus.mi.en b/distrib/utils/sysinst/menus.mi.en index 18b3570159c3..8c2a9c1da49f 100644 --- a/distrib/utils/sysinst/menus.mi.en +++ b/distrib/utils/sysinst/menus.mi.en @@ -1,4 +1,4 @@ -/* $NetBSD: menus.mi.en,v 1.64 2003/04/06 16:12:37 jmmv Exp $ */ +/* $NetBSD: menus.mi.en,v 1.65 2003/05/06 05:35:09 itojun Exp $ */ /* * Copyright 1997 Piermont Information Systems Inc. @@ -399,41 +399,19 @@ menu localdirbad, title "What do you want to do?"; { yesno = 1; ignorerror = 1; }; menu namesrv6, title " Select IPv6 DNS server"; - option "paradise.v6.kame.net", exit, action + option "ns9.iij.ad.jp", exit, action { #ifdef INET6 - strncpy(net_namesvr6, "3ffe:501:4819::42", - sizeof(net_namesvr6)); + strlcpy(net_namesvr6, "2001:240::1", sizeof(net_namesvr6)); yesno = 1; #else yesno = 0; #endif }; - option "kiwi.itojun.org", exit, action + option "ns-wide.wide.ad.jp", exit, action { #ifdef INET6 - strncpy(net_namesvr6, "3ffe:501:410:100:5254:ff:feda:48bf", - sizeof(net_namesvr6)); - yesno = 1; -#else - yesno = 0; -#endif - }; - option "ns1.v6.intec.co.jp", exit, action - { -#ifdef INET6 - strncpy(net_namesvr6, "3ffe:508:0:1::53", - sizeof(net_namesvr6)); - yesno = 1; -#else - yesno = 0; -#endif - }; - option "nttv6.net", exit, action - { -#ifdef INET6 - strncpy(net_namesvr6, "3ffe:1800:1000::1", - sizeof(net_namesvr6)); + strlcpy(net_namesvr6, "2001:200:0:1::3", sizeof(net_namesvr6)); yesno = 1; #else yesno = 0; @@ -442,7 +420,7 @@ menu namesrv6, title " Select IPv6 DNS server"; option "light.imasy.or.jp", exit, action { #ifdef INET6 - strncpy(net_namesvr6, "3ffe:505:0:1:2a0:c9ff:fe61:6521", + strlcpy(net_namesvr6, "3ffe:505:0:1:2a0:c9ff:fe61:6521", sizeof(net_namesvr6)); yesno = 1; #else diff --git a/distrib/utils/sysinst/menus.mi.fr b/distrib/utils/sysinst/menus.mi.fr index 067e315b8ef8..e588ff19fc15 100644 --- a/distrib/utils/sysinst/menus.mi.fr +++ b/distrib/utils/sysinst/menus.mi.fr @@ -1,4 +1,4 @@ -/* $NetBSD: menus.mi.fr,v 1.43 2003/01/22 05:59:07 jhawk Exp $ */ +/* $NetBSD: menus.mi.fr,v 1.44 2003/05/06 05:35:09 itojun Exp $ */ /* * Copyright 1997 Piermont Information Systems Inc. @@ -360,41 +360,19 @@ menu localdirbad, title "Que voulez vous faire?"; { yesno = 1; ignorerror = 1; }; menu namesrv6, title " Choisissez un serveur de noms IPv6 :"; - option "paradise.v6.kame.net", exit, action + option "ns9.iij.ad.jp", exit, action { #ifdef INET6 - strncpy(net_namesvr6, "3ffe:501:4819::42", - sizeof(net_namesvr6)); + strlcpy(net_namesvr6, "2001:240::1", sizeof(net_namesvr6)); yesno = 1; #else yesno = 0; #endif }; - option "kiwi.itojun.org", exit, action + option "ns-wide.wide.ad.jp", exit, action { #ifdef INET6 - strncpy(net_namesvr6, "3ffe:501:410:100:5254:ff:feda:48bf", - sizeof(net_namesvr6)); - yesno = 1; -#else - yesno = 0; -#endif - }; - option "ns1.v6.intec.co.jp", exit, action - { -#ifdef INET6 - strncpy(net_namesvr6, "3ffe:508:0:1::53", - sizeof(net_namesvr6)); - yesno = 1; -#else - yesno = 0; -#endif - }; - option "nttv6.net", exit, action - { -#ifdef INET6 - strncpy(net_namesvr6, "3ffe:1800:1000::1", - sizeof(net_namesvr6)); + strlcpy(net_namesvr6, "2001:200:0:1::3", sizeof(net_namesvr6)); yesno = 1; #else yesno = 0; @@ -403,7 +381,7 @@ menu namesrv6, title " Choisissez un serveur de noms IPv6 :"; option "light.imasy.or.jp", exit, action { #ifdef INET6 - strncpy(net_namesvr6, "3ffe:505:0:1:2a0:c9ff:fe61:6521", + strlcpy(net_namesvr6, "3ffe:505:0:1:2a0:c9ff:fe61:6521", sizeof(net_namesvr6)); yesno = 1; #else diff --git a/distrib/utils/sysinst/menus.mi.pl b/distrib/utils/sysinst/menus.mi.pl index 352f0cadeda4..a0c97a7f1a8b 100644 --- a/distrib/utils/sysinst/menus.mi.pl +++ b/distrib/utils/sysinst/menus.mi.pl @@ -1,4 +1,4 @@ -/* $NetBSD: menus.mi.pl,v 1.13 2002/10/16 08:04:27 itojun Exp $ */ +/* $NetBSD: menus.mi.pl,v 1.14 2003/05/06 05:35:09 itojun Exp $ */ /* Based on english version: */ /* NetBSD: menus.mi.en,v 1.49 2002/04/04 14:26:44 ad Exp */ @@ -399,41 +399,19 @@ menu localdirbad, title "Co chcesz zrobic?"; { yesno = 1; ignorerror = 1; }; menu namesrv6, title " Wybierz serwer nazw IPv6"; - option "paradise.v6.kame.net", exit, action + option "ns9.iij.ad.jp", exit, action { #ifdef INET6 - strncpy(net_namesvr6, "3ffe:501:4819::42", - sizeof(net_namesvr6)); + strlcpy(net_namesvr6, "2001:240::1", sizeof(net_namesvr6)); yesno = 1; #else yesno = 0; #endif }; - option "kiwi.itojun.org", exit, action + option "ns-wide.wide.ad.jp", exit, action { #ifdef INET6 - strncpy(net_namesvr6, "3ffe:501:410:100:5254:ff:feda:48bf", - sizeof(net_namesvr6)); - yesno = 1; -#else - yesno = 0; -#endif - }; - option "ns1.v6.intec.co.jp", exit, action - { -#ifdef INET6 - strncpy(net_namesvr6, "3ffe:508:0:1::53", - sizeof(net_namesvr6)); - yesno = 1; -#else - yesno = 0; -#endif - }; - option "nttv6.net", exit, action - { -#ifdef INET6 - strncpy(net_namesvr6, "3ffe:1800:1000::1", - sizeof(net_namesvr6)); + strlcpy(net_namesvr6, "2001:200:0:1::3", sizeof(net_namesvr6)); yesno = 1; #else yesno = 0; @@ -442,7 +420,7 @@ menu namesrv6, title " Wybierz serwer nazw IPv6"; option "light.imasy.or.jp", exit, action { #ifdef INET6 - strncpy(net_namesvr6, "3ffe:505:0:1:2a0:c9ff:fe61:6521", + strlcpy(net_namesvr6, "3ffe:505:0:1:2a0:c9ff:fe61:6521", sizeof(net_namesvr6)); yesno = 1; #else