Gentoo Archives: gentoo-user

From: Klaus Ethgen <Klaus+gentoo@××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] IPv4 & IPv6
Date: Sat, 28 Apr 2018 06:50:21
Message-Id: 20180428065009.GF11753@ikki.ethgen.ch
In Reply to: [gentoo-user] IPv4 & IPv6 by Hartmut Figge
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA512
3
4 Hi,
5
6 Am Sa den 28. Apr 2018 um 7:09 schrieb Hartmut Figge:
7 > I do not know why my machine suddenly local uses IPv6 instead of IPv4. I
8 > noticed it today when I was unable to retrieve mail. syslog now shows
9 [...]
10 > ----- /etc/hosts -----
11 > # IPv4 and IPv6 localhost aliases
12 > 127.0.0.1 localhost
13 > # ::1 localhost
14 > ---------------
15 >
16 > Commenting out the last line helped and I could get my mails. But that
17 > is really a dirty trick. *g*.
18
19 You might add the following line in /etc/gai.conf:
20 precedence ::ffff:0:0/96 100
21
22 instead of
23 precedence ::ffff:0:0/96 10
24
25 Note that you need the full precedence-block if it is commented out.
26 Just change that line.
27
28 Regards
29 Klaus
30 - --
31 Klaus Ethgen http://www.ethgen.ch/
32 pub 4096R/4E20AF1C 2011-05-16 Klaus Ethgen <Klaus@××××××.ch>
33 Fingerprint: 85D4 CA42 952C 949B 1753 62B3 79D0 B06F 4E20 AF1C
34 -----BEGIN PGP SIGNATURE-----
35 Comment: Charset: ISO-8859-1
36
37 iQGzBAEBCgAdFiEEMWF28vh4/UMJJLQEpnwKsYAZ9qwFAlrkGZwACgkQpnwKsYAZ
38 9qyl0AwAgwC/epv2/DBq57K1s3iN3uTeI66rnqPBOdsT2o1Sp7AdMrdC+F7waUlE
39 oHDru9LQ00mdQqWG375exXoVlMXseeejNVwLvMaMig8kD2EdQQFHpOGakaqx2JZ0
40 lsnPGS8pd1BRf/uOOslr0TLL9a33wTeJfdR92n3I93ChFbYXV/PhZa9elTlq0v6+
41 srcVP3M1ioZ5fh20EeZETm5amiUdm4cKsYH9+8bH6NJKFYJJodJE08CZyNC8uuSi
42 8E3lFceNTE4+plKfH8Y87rfqeMhBHLLINGfzgYsv314ldPIEUPu0RXAc+M1ZRGZc
43 aj+XOlzo1XtKwlEKhZpG1hgKmHgJ49IO5ZBKzQmtRfIEzTP1xi0VhBIFvMYh6q5S
44 7soBxrc6girhq0NVfoIJ1MzYgIFqnTP24YamiJifQ1SdxaCHazIqBm0c8nIjAwCL
45 Al99W6tzO807GGMEb+VShc+VUKOOHLGYfPAQ2tf5VzhXVRzCBGFq3CwfHL4bTj+H
46 u1No3mDq
47 =pqnf
48 -----END PGP SIGNATURE-----

Replies

Subject Author
[gentoo-user] Re: IPv4 & IPv6 Hartmut Figge <h.figge@×××.de>