User Tools

Site Tools


Navigation Menu

Flight-Control

<
Previous mounth
06/07/2023
>
Next mounth
SMTWFTS
23
04
04
05
05
06
06
07
07
080910
2411121314151617
2518192021222324
2625262728293001
2702030405060708









Hot Projects

SEEDStack

SEEDStack - Open 3D printable seed/sprouting systemDIY Food Hacking

UCSSPM

UCSSPM - Unified Clear-Sky Solar Prediction ModelOpen Solar Power

picoReflow

picoReflow - DIY PID Reflow Oven Controller based on RaspberryPiDIY Reflow Soldering

PiGI

PiGI - DIY Geiger Counter based on RaspberryPiRasPi Geiger Counter

DIY ARA-2000

Active Wideband Receiver Antenna for SDR - ARA-2000Wideband Antenna

DSpace

DSPace - Map everythingMap everything!

Mission-Tags

Ubuntu IPv4-IPv6 Dual-Stack name resolution fix

In case you're up to date and want to offer v4 and v6 services in order to promote v6 you may have run into the issue, that apt-get and git and a lot of other programs on your box won't work properly anymore. The main reason why this is happening, is that many upstream services already resolve AAAA but the services attached are not properly configured. Ubuntu's repos are one of the best examples for that. Apt-get failed on half of their own hostnames because it used v6 by default. The solution is quite simple really:

Add the following to /etc/gai.conf:

precedence ::ffff:0:0/96  100

This will prefer local v4 resolution and will get us through the nasty phase of having to deal with both v4 and v6.

Discussion

Enter your comment. Wiki syntax is allowed:
Y T Y A Q