Tagging-Archive: ipv4


force apt-get to use ipv4

Debian / Ubuntu prefer to use IPv6 DNS Records. This leads to problems if the server supports only IPv4. The problem can easily solved. We only need to change the config for getaddrinfo(). Open /etc/gai.conf and change #precedence ::ffff:0:0/96 100 to precedence ::ffff:0:0/96 100 For me it was line 54.


send mail with postfix for certain domains using ipv4 or ipv6 only 4

To send outgoing mail with postfix for certain domains only over IPv6 or IPv4, only a few changes are required. The domains are registered in accordance /etc/postfix/transport examplev4.de smtp-ipv4-only: examplev6.de smtp-ipv6-only: /etc/postfix/master.cf: smtp-ipv4-only unix  –       –       n        –       –       smtp        -o inet_protocols=ipv4 smtp-ipv6-only unix  –       –       n        –       –       smtp        -o inet_protocols=ipv6 /etc/postfix/main.cf: transport_maps = hash:/etc/postfix/transport: Execute postmap hash:/etc/postfix/transport and […]


ISPConfig 3.0.5.2 – rewrite ip on mirror(s)

My patch for ISPConfig 3.0.5.1 also works for the latest version 3.0.5.2. Only the language file is not patched, but that can be easily realized by hand. Please understand that I do not find the time at the moment to adapt the patch accordingly – but that’s just a visual […]


ISPConfig 3.0.5 – rewrite ip on mirror(s) 3

I recently posted my solution for rewriting IP-addresses on mirrors here. Since yesterday ISPConfig 3.0.5 is available. The patch works with 3.5.0.1, too. Contrary to the old solution, there is now a patch available. You can now setup the IPv6-rewrite within the Interface. There is no IPv4 rewrite via the […]


ISPConfig rc2 – rewrite ip on mirror(s)

As i described here, i change on a mirror the ipv6 according to the relevant subnet in the vhost-files. I added a rewrite for IPv4 and show you how to use this with the current RC. Use this only with ISPConfig-3.0.5-rc2 For ISPConfig-3.0.5-rc2 see my post here. In /usr/local/ispconfig/server/plugins-available/apache2_plugin.inc.php replace […]


ISPConfig – rewrite ip on mirror(s)

As i described here, i change on a mirror the ipv6 according to the relevant subnet in the vhost-files. I added a rewrite for IPv4 and show you how to use this with the current RC. Use this only with ISPConfig-3.0.5-rc1 For some reason my v6-rewrite-code is a part of […]