From ac71086bf4d6854e8612d21f8104ba839283dc48 Mon Sep 17 00:00:00 2001 From: Andrew Battat <113942931+andrewbattat@users.noreply.github.com> Date: Thu, 16 Jan 2025 16:21:41 -0600 Subject: [PATCH] fix(node): update development nns_url (#3486) NODE-1560 [wiki.internetcomputer.org](http://wiki.internetcomputer.org/) resolves to only an IPv4 address (107.161.28.131) ``` $ nslookup wiki.internetcomputer.org Server: 127.0.0.53 Address: 127.0.0.53#53 Non-authoritative answer: Name: wiki.internetcomputer.org Address: 107.161.28.131 ``` This caused bare metal deployment tests to fail when only ipv6 info is provided. Changing to a more standard url fixes this. --- ic-os/setupos/defs.bzl | 4 ++-- rs/ic_os/config/src/generate_testnet_config.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ic-os/setupos/defs.bzl b/ic-os/setupos/defs.bzl index d0c6ce774c2..294c14cb3b6 100644 --- a/ic-os/setupos/defs.bzl +++ b/ic-os/setupos/defs.bzl @@ -81,11 +81,11 @@ def _custom_partitions(mode): if mode == "dev": guest_image = Label("//ic-os/guestos/envs/dev:disk-img.tar.zst") host_image = Label("//ic-os/hostos/envs/dev:disk-img.tar.zst") - nns_url = "https://wiki.internetcomputer.org" + nns_url = "https://cloudflare.com/cdn-cgi/trace" elif mode == "local-base-dev": guest_image = Label("//ic-os/guestos/envs/local-base-dev:disk-img.tar.zst") host_image = Label("//ic-os/hostos/envs/local-base-dev:disk-img.tar.zst") - nns_url = "https://wiki.internetcomputer.org" + nns_url = "https://cloudflare.com/cdn-cgi/trace" elif mode == "local-base-prod": guest_image = Label("//ic-os/guestos/envs/local-base-prod:disk-img.tar.zst") host_image = Label("//ic-os/hostos/envs/local-base-prod:disk-img.tar.zst") diff --git a/rs/ic_os/config/src/generate_testnet_config.rs b/rs/ic_os/config/src/generate_testnet_config.rs index 2b8f38c1e48..8ff0f9cc7b1 100644 --- a/rs/ic_os/config/src/generate_testnet_config.rs +++ b/rs/ic_os/config/src/generate_testnet_config.rs @@ -181,7 +181,7 @@ fn create_guestos_config(config: GenerateTestnetConfigArgs) -> Result, _>>()?, - None => vec![Url::parse("https://wiki.internetcomputer.org")?], + None => vec![Url::parse("https://cloudflare.com/cdn-cgi/trace")?], }; let use_node_operator_private_key = use_node_operator_private_key.unwrap_or(false);