dnsHosts entry appears to clobber entire domain
- Vorherrschende Sprache
- Go
- Sterne
- 30.8k
- Forks
- 613
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
### 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_
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.