From 0926969567f3c6c7fb3f01a391484ff2b5fb9cf3 Mon Sep 17 00:00:00 2001 From: Cal Corum Date: Thu, 26 Feb 2026 23:48:03 -0600 Subject: [PATCH] store: Fix: Gitea SSH remote (git@git.manticorum.com) resolves to Pi-hole instead of Gitea LXC --- ...anticorumcom-resolves-to-pi-hole-447967.md | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 graph/fixes/fix-gitea-ssh-remote-gitgitmanticorumcom-resolves-to-pi-hole-447967.md diff --git a/graph/fixes/fix-gitea-ssh-remote-gitgitmanticorumcom-resolves-to-pi-hole-447967.md b/graph/fixes/fix-gitea-ssh-remote-gitgitmanticorumcom-resolves-to-pi-hole-447967.md new file mode 100644 index 00000000000..b817418b49a --- /dev/null +++ b/graph/fixes/fix-gitea-ssh-remote-gitgitmanticorumcom-resolves-to-pi-hole-447967.md @@ -0,0 +1,41 @@ +--- +id: 4479674f-16de-4cfb-afc1-73042d4ab8db +type: fix +title: "Fix: Gitea SSH remote (git@git.manticorum.com) resolves to Pi-hole instead of Gitea LXC" +tags: [gitea, ssh, dns, networking, fix, pihole, homelab, dotfiles] +importance: 0.65 +confidence: 0.8 +created: "2026-02-27T05:48:03.833429+00:00" +updated: "2026-02-27T05:48:03.833429+00:00" +--- + +# Gitea SSH Remote Resolves to Pi-hole + +## Problem +`git@git.manticorum.com:cal/repo.git` SSH remotes fail because `git.manticorum.com` DNS resolves to Pi-hole (10.10.0.16) instead of the Gitea LXC (10.10.0.225). + +## Root Cause +Pi-hole is configured as the local DNS resolver. The DNS record for `git.manticorum.com` points to Pi-hole, not directly to the Gitea server. + +## Fix (Preferred): Use HTTPS Remote +```bash +https://git.manticorum.com/cal/repo.git +``` +Works because `~/.gitconfig` has a credential helper configured. No SSH key routing issues. + +## Alternative Fix: SSH Config Override +Add to `~/.ssh/config`: +``` +Host git.manticorum.com + HostName 10.10.0.225 + User git +``` +This bypasses DNS and connects directly to the Gitea LXC. + +## Infrastructure Notes +- Gitea LXC IP: 10.10.0.225 +- Pi-hole IP: 10.10.0.16 +- HTTPS is the simpler solution since the git credential helper is already configured + +## Context +Discovered while setting up ~/dotfiles repo and pushing to Gitea.