Using IPs and domains in tests/documentation

Given how central Foreman is within server management, every developer is pretty much guaranteed to write an IP and domain at some point. Not everyone is aware there are special subnets and domains reserved for this.

IPv4 per RFC5735

Name Range
TEST-NET-1 192.0.2.0/24
TEST-NET-2 198.51.100.0/24
TEST-NET-3 203.0.113.0/24

IPv6 per RFC3849

  • 2001:db8::/32.

DNS per RFC2606

IANA reserved domains (includes IDN for unicode testing)

5 Likes

When working on our new documentation, note we have a special variables {foreman.example.com} and {ovirt.example.com} and couple of others. They do transform to foreman.example.com or satellite.example.com depending on the build context.

1 Like