abiosoft / abiosoft/colima

dnsHosts entry appears to clobber entire domain

Aperta
#733 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Go
Stelle
30.8k
Fork
613
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### Description

```
dnsHosts:
www.yahoo.com: host.docker.internal
```
The above will redirect www.yahoo.com just fine, however everything else in yahoo.com becomes broken. E.g. finance.yahoo.com will no longer resolve.

### Version

Colima Version: 0.5.5
Lima Version: 0.15.1
Qemu Version: 8.0.0

### Operating System

- [X] macOS Intel <= 12 (Monterrey)
- [ ] macOS Intel >= 13 (Ventura)
- [ ] macOS M1 <= 12 (Monterrey)
- [ ] macOS M1 >= 13 (Ventura)
- [ ] Linux

### Output of `colima status`

INFO[0000] colima is running using QEMU
INFO[0000] arch: x86_64
INFO[0000] runtime: docker
INFO[0000] mountType: sshfs
INFO[0000] address: 192.168.106.2
INFO[0000] socket: unix:///Users/jgm/.colima/default/docker.sock

### Reproduction Steps

1. colima start --edit
2. dnsHosts:
www.yahoo.com: host.docker.internal
3. in container, www.yahoo.com resolves, but finance.yahoo.com does not

### Expected behaviour

When redirecting X.domain.tld using dnsHosts, it is expected that Y.domain.tld (unmentioned in dnsHosts) will still resolve normally.

### Additional context

_No response_

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.