Skip to content

Commit

Permalink
add reference to original list
Browse files Browse the repository at this point in the history
  • Loading branch information
sukunrt committed Sep 14, 2023
1 parent 353cc18 commit 9d1559c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions net/private.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ var unroutableCIDR6 = []string{
}

// unResolvableDomains do not resolve to an IP address.
// Ref: https://en.wikipedia.org/wiki/Special-use_domain_name#Reserved_domain_names
var unResolvableDomains = []string{
// Reverse DNS Lookup
".in-addr.arpa",
Expand All @@ -60,6 +61,7 @@ var unResolvableDomains = []string{

// privateUseDomains are reserved for private use and have no central authority for consistent
// address resolution
// Ref: https://en.wikipedia.org/wiki/Special-use_domain_name#Reserved_domain_names
var privateUseDomains = []string{
// RFC 8375: Reserved for home networks
".home.arpa",
Expand Down

0 comments on commit 9d1559c

Please sign in to comment.