store: Fix: Gitea SSH remote (git@git.manticorum.com) resolves to Pi-hole instead of Gitea LXC
This commit is contained in:
parent
0da925a25c
commit
0926969567
@ -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.
|
||||
Loading…
Reference in New Issue
Block a user