Skip to content

Instantly share code, notes, and snippets.

@RedRoserade
RedRoserade / docker-fedora-33-dns.md
Last active February 15, 2024 14:54
Working around Docker DNS issues on Fedora 33. Adapted from https://stackoverflow.com/a/60113249

Problem

Docker on Fedora 33 has issues with systemd-resolved. This causes DNS issues when, for example, connecting VPNs, because it'll use the wrong DNS server, especially if you have several configured. The one from systemd-resolved is ignored since it's a 127.0.0.X address.

This causes containers to not be able to resolve addresses on the private network (VPN).

Solution

Use dnsmasq to listen on docker0 and forward DNS requests to systemd-resolved running on 127.0.0.53.

@csomh
csomh / working-with-minishift.md
Last active April 13, 2018 13:15
Working with minishift

Docs

If on Fedora, RHEL one should use centos iso to make pushing to registry work
$ minishift start --iso-url centos

(can this be configured in a minishift profile to be used?)

Use docker deamon from minishift
@arantius
arantius / mdns-tivo-forgery.py
Created June 6, 2011 00:52
The files I used to reverse engineer, and proof-of-concept, the TiVo to iPad protocol.
#!/usr/bin/env python
"""An mDNS daemon designed to appear, to the iPad app, to be a TiVo Premiere."""
import Zeroconf
import socket
local_ip = socket.gethostbyname(socket.gethostname())
local_ip = socket.inet_aton(local_ip)