Child pages
  • HowTo invite applications to use IPv4 or IPv6

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: apt-Hints

...

ApplicationCommand line optionsConfig file optionsConfig file names, Remarks
apt-*
-o Acquire::ForceIPv4=true
-o Acquire::ForceIPv6=true

Acquire::ForceIPv4 "true";

Acquire::ForceIPv6 "true"; 

Suggestion: /etc/apt/apt.conf.d/99force-ipv4

apt ignores gai.conf

Java JVMs

-Djava.net.preferIPv4Stack=[true|false]

-Djava.net.preferIPv6Addresses=[true|false]

java.net.preferIPv4Stack = [ true | false ]

java.net.preferIPv6Addresses = [ true | false ]

java.net.preferIPv*Stack are actually JVM system properties

OpenSSH

[ -4 | -6 ]

AddressFamily any | inet | inet

/etc/ssh/ssh*_config, ~/.ssh/config
Postfix inet_protocols = all | inet4 | inet6/etc/postfix/main.cf

...