containers / containers/netavark

Add port `53/udp` by default to `netavark_zone` so default networks can use DNS

Open
#1,056 9 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
794
Forks
161
Avg merge
8d 17h
Merged PRs (30d)
3

Description

It seems on default setups with firewalld `DNS` is not functional at all, would it make sense to add `--zone=netavark_zone --add-port=53/udp` ?

Reproducer

* Start with default `firewalld`
```
podman network create test
```

```
podman run -it --rm --network=test --name ctr1 nicolaka/netshoot bash
```

### Current Output
```
5b4ecd5adc6e:~# dig ctr1
;; communications error to 10.89.0.1#53: host unreachable
;; communications error to 10.89.0.1#53: host unreachable
;; communications error to 10.89.0.1#53: host unreachable

; <<>> DiG 9.18.25 <<>> ctr1
;; global options: +cmd
;; no servers could be reached
```

### Expected output
Resolution for default networks should work

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.