Giter VIP home page Giter VIP logo

Comments (22)

MartinX3 avatar MartinX3 commented on June 19, 2024 1

Ah, after turning /etc/resolv.conf again into a symlink of systemd-resolved
sudo ln -rsf /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf
the messages disappear.
I assume it wants now to call the localhost ip of the systemd-resolved instead of the network ip of the outside resolver.

I don't know how I could let this plugin verbose debug logging into the journal, but I'm glad that it is fixed now.

from aardvark-dns.

MartinX3 avatar MartinX3 commented on June 19, 2024

And it's back
dns request failed: request timed out

It seems to happen if I execute nslookup in a container.
But I get a result. Weird.

from aardvark-dns.

Szwendacz99 avatar Szwendacz99 commented on June 19, 2024

I detected the same problem on my raspberry pi with Fedora and rootless podman containers.

from aardvark-dns.

jmaris avatar jmaris commented on June 19, 2024

Having the exact same issue. DNS lookup is extremely unstable, only two thirds of lookups work.

This is on Fedora Silverblue 37 using rootless containers and the new networking stack.

from aardvark-dns.

MartinX3 avatar MartinX3 commented on June 19, 2024

Now using a nextcloud container which communicates with a PostgreSQL and a LDAP container.
I access the nextcloud container with a nginx reverse proxy container from the internet.

1/3 of the nextcloud web interface results into a 502 bad gateway, because of the unstable DNS.
And my logs are getting spammed with

aardvark-dns[3617]: 50310 dns request failed: request timed out

I hope the next podman release will include the new network stack which hopefully fixes this issue.

from aardvark-dns.

baude avatar baude commented on June 19, 2024

It is impossible to help with these issues as reporters did not provide versions for podman, netavark, and aarvark-dns. please provide as much relevant information as possible.

from aardvark-dns.

MartinX3 avatar MartinX3 commented on June 19, 2024

podman: 4.3.1
netavark: 1.4.0
aardvark-dns: 1.4.0

from aardvark-dns.

baude avatar baude commented on June 19, 2024

would you say your machine/vm is high performent or maybe has slow IO/processor/RAM limitations? I'm trying to understand if you might have a race.

from aardvark-dns.

MartinX3 avatar MartinX3 commented on June 19, 2024

The first bare metal server server with this issue has the HDD connected to SATA with the server.
CPU: Intel Xeon E3-1231 v3 - 3.4 GHz - 4 core(s)
RAM: 32GB - DDR3

The second bare metal server has a 870 Evo SSD connected via SATA to the server.
CPU: AMD Phenom 2 955 X4 3.2 GHz 4 cores
RAM: 6GB - DDR2

The second server spams this issue many times.
The first server spams it less often but also regularly.

from aardvark-dns.

baude avatar baude commented on June 19, 2024

@flouthoc wdyt?

from aardvark-dns.

MartinX3 avatar MartinX3 commented on June 19, 2024

Now my faster server spammed it at night while the server pods weren't used by clients.

from aardvark-dns.

flouthoc avatar flouthoc commented on June 19, 2024

We used to see similar issues in older versions of netavark and aardvark in Podman CI as well but it was fixed in newer versions with #220 but I guess there might be some issue which is not being reproduced in our CI, I'll try to reproduce this locally and see if i can reproduce this.

from aardvark-dns.

vulpes2 avatar vulpes2 commented on June 19, 2024

I'm seeing the same problems on a freshly installed Fedora Server 37 instance as well. The machine is basically completely idling with no load and my journal is still filled with these errors. This issue was not present before 2022, and I've ran similar setups on slower machines without any DNS lookup issues.

podman: 4.3.1
netavark: 1.4.0
aardvark-dns: 1.4.0

from aardvark-dns.

Luap99 avatar Luap99 commented on June 19, 2024

Can you test with v1.5?

from aardvark-dns.

MartinX3 avatar MartinX3 commented on June 19, 2024

I think the timeout is fixed.
But now sometimes I get an "empty dns response" on all machines.

from aardvark-dns.

Luap99 avatar Luap99 commented on June 19, 2024

Does this cause problems for the container or is just an error that is logged often?

from aardvark-dns.

MartinX3 avatar MartinX3 commented on June 19, 2024

It's logged often with long breaks between. So it appears in groups most of the time.

I think the services just repeat the DNS action again until it works.
So I would say it just consumes CPU time and maybe network speed?

Maybe I don't use it long enough to see long term errors.

from aardvark-dns.

Luap99 avatar Luap99 commented on June 19, 2024

Do you have a simple reproducer? What kind of application are you running and how many dns request does it make?

from aardvark-dns.

vulpes2 avatar vulpes2 commented on June 19, 2024

Tested with v1.5 and I'm getting a lot of dns request got empty response as well. Here's a list of all the containers I'm running on my system:

  • eclipse-mosquitto:2
  • koenkk/zigbee2mqtt
  • homeassistant/home-assistant:stable

It's notable that none of these containers are particularly demanding on the hardware, and my system load average is generally below 0.1 at all times.

from aardvark-dns.

MartinX3 avatar MartinX3 commented on June 19, 2024

It happens without workload.

The server just runs

  • mailrise
  • swag & duckdns
  • borg-backup-server

from aardvark-dns.

soiboi avatar soiboi commented on June 19, 2024

I'm experiencing the same issue with aardvark-dns reporting lots of dns request got empty response errors in my logs. It seems to be causing problems for at least the containers running Uptime Kuma, Invidious and Jellyseerr. Uptime Kuma starts throwing ECONNRESET when doing GET requests, and Invidious and Jellyseerr similarly start to have their requests fail, with external content taking a long time to load, if at all.

It happens with both 1.5.0 and the latest 1.6.0 from podman-next. For me it seems to start after around 3 days of uptime. I've tried changing machines and switching from onboard Realtek to an Intel i350-T2 controller, but both to no avail. Rebooting solves the issue, until uptime reaches 3 days again.

from aardvark-dns.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.