Ubuntu 24.04.1, Docker, Portainer, OpenWRT on a Flint 2 (GL-MT6000) router
My Ubuntu server (192.168.200.151) no longer has internet access, IE: no websites will load and in the GUI it shows a question mark over the ethernet connection. All my other devices still have intranet and internet access. I am still able to remote in and copy files to the server still. The Pihole is set up on a macvlan I named "pihole" with the IP address 192.160.200.1. I created the macvlan a couple days ago and it was working great until last night out of nowhere, I lost internet on it. This was my previous thread: Possible nameserver issues PiHole v5.18.3, on Ubuntu running Docker - #21 by ShadowofIntent
Debug Token:
https://tricorder.pi-hole.net/EnOac8ns/
I found this interesting:
tom@ubuntu-server:~$ systemctl status systemd-resolved.service
● systemd-resolved.service - Network Name Resolution
Loaded: loaded (/usr/lib/systemd/system/systemd-resolved.service; enabled; preset: enabled)
Active: active (running) since Fri 2025-02-28 08:18:32 EST; 28s ago
Docs: man:systemd-resolved.service(8)
man:org.freedesktop.resolve1(5)
https://www.freedesktop.org/wiki/Software/systemd/writing-network-configuration-managers
https://www.freedesktop.org/wiki/Software/systemd/writing-resolver-clients
Main PID: 5275 (systemd-resolve)
Status: "Processing requests..."
Tasks: 1 (limit: 28332)
Memory: 2.6M (peak: 3.1M)
CPU: 48ms
CGroup: /system.slice/systemd-resolved.service
└─5275 /usr/lib/systemd/systemd-resolved
Feb 28 08:18:32 ubuntu-server systemd[1]: Starting systemd-resolved.service - Network Name Resolution...
Feb 28 08:18:32 ubuntu-server systemd-resolved[5275]: Positive Trust Anchors:
Feb 28 08:18:32 ubuntu-server systemd-resolved[5275]: . IN DS 20326 8 2 e06d44b80b8f1d39a95c0b0d7c65d08458e880409bbc683457104237c7f8ec8d
Feb 28 08:18:32 ubuntu-server systemd-resolved[5275]: Negative trust anchors: home.arpa 10.in-addr.arpa 16.172.in-addr.arpa 17.172.in-addr.arpa 18.172.in-addr.arpa 19.172.in-addr.arpa 20.172.in-addr.arpa 21.172.in-addr.arpa 22.172.in-addr.arpa 23.>
Feb 28 08:18:32 ubuntu-server systemd-resolved[5275]: Using system hostname 'ubuntu-server'.
Feb 28 08:18:32 ubuntu-server systemd[1]: Started systemd-resolved.service - Network Name Resolution.
Feb 28 08:18:43 ubuntu-server systemd-resolved[5275]: Using degraded feature set UDP instead of UDP+EDNS0 for DNS server 192.168.200.1.
Feb 28 08:18:49 ubuntu-server systemd-resolved[5275]: Using degraded feature set TCP instead of UDP for DNS server 192.168.200.1.
Feb 28 08:18:58 ubuntu-server systemd-resolved[5275]: Using degraded feature set UDP instead of TCP for DNS server 192.168.200.1.
tom@ubuntu-server:~$ sudo systemctl restart systemd-resolved.service
tom@ubuntu-server:~$ docker network inspect pihole
[
{
"Name": "pihole",
"Id": "50fd4aba79bb07bc934b28c0a2f37aad55d9b96c75d3e4e49ac0a663dd7b8afb",
"Created": "2025-02-25T20:07:42.311076914-05:00",
"Scope": "local",
"Driver": "macvlan",
"EnableIPv4": true,
"EnableIPv6": false,
"IPAM": {
"Driver": "default",
"Options": null,
"Config": [
{
"Subnet": "192.168.200.0/24",
"IPRange": "192.168.200.0/29",
"Gateway": "192.168.200.4"
}
]
},
"Internal": false,
"Attachable": false,
"Ingress": false,
"ConfigFrom": {
"Network": "macvlanconfig"
},
"ConfigOnly": false,
"Containers": {
"230f2fd1cd64fb723af9eeceab23cc20eb943b3100236b9d1593b1f504a038d8": {
"Name": "pihole",
"EndpointID": "0d804a271e4d9859d258ba307f242b72ebdf87f45676f7f5cb52b21d8c3b0cf7",
"MacAddress": "ee:09:96:10:06:12",
"IPv4Address": "192.168.200.1/24",
"IPv6Address": ""
}
},
"Options": {
"parent": "enp2s0"
},
"Labels": {}
}
]
Docker-compose (NOTE: under "DNS" I tried both 127.0.0.1 and 192.168.200.1 just to test):
---
version: "3"
services:
pihole:
container_name: pihole
image: pihole/pihole:2024.07.0
ports:
- 53:53/tcp
- 53:53/udp
- 67:67/udp
- 80:80/tcp
environment:
TZ: America/New_York
WEBPASSWORD:
volumes:
- /home/tom/dockervolumes/pihole/etc:/etc/pihole
- /home/tom/dockervolumes/pihole/dnsmasq.d:/etc/dnsmasq.d
dns:
- 192.168.200.1
- 1.1.1.1
cap_add:
- NET_ADMIN
networks:
- pihole
restart: unless-stopped
networks:
pihole:
external: true