Skip to content

Commit

Permalink
ref(derp): Default DNS name rooted at the DNS root (#1231)
Browse files Browse the repository at this point in the history
This makes sure that the default DNS name starts at the DNS root so
that DNS resolvers do not start searching their search domains.
  • Loading branch information
flub committed Jul 17, 2023
1 parent 659a54a commit 8116345
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions iroh-net/src/defaults.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ use std::collections::HashMap;
use crate::hp::derp::{DerpMap, DerpNode, DerpRegion, UseIpv4, UseIpv6};

/// Hostname of the default NA Derp.
pub const NA_DERP_HOSTNAME: &str = "derp.iroh.network";
pub const NA_DERP_HOSTNAME: &str = "derp.iroh.network.";
/// IPv4 of the default NA Derp.
pub const NA_DERP_IPV4: std::net::Ipv4Addr = std::net::Ipv4Addr::new(35, 175, 99, 113);
/// NA region id
pub const NA_REGION_ID: u16 = 1;

/// Hostname of the default EU Derp.
pub const EU_DERP_HOSTNAME: &str = "eu1.derp.iroh.network";
pub const EU_DERP_HOSTNAME: &str = "eu1.derp.iroh.network.";
/// IPv4 of the default EU Derp.
pub const EU_DERP_IPV4: std::net::Ipv4Addr = std::net::Ipv4Addr::new(52, 30, 229, 248);
/// EU region id
Expand Down

0 comments on commit 8116345

Please sign in to comment.