Skip to content

[Question] fx makes DNS requests for every webfetch call #527

Description

@ngocphamm

Hi,

I don't know if this is a bug or something intended for fx, but I notice that whenever I ask fx to look at some web page, it will make 2 requests to the site, 1 to port 53, and 1 to port 443. This is caught by OpenSnitch.

One thing about my situation is I run fx inside a Podman container, so the requests were detected as coming from /usr/bin/pasta.

Steps to reproduce

  1. Install OpenSnitch on the host box
  2. Run a Podman rootless container
  3. Inside that container, get fx and run it
  4. Ask fx to look at some web page example.com
  5. Observe that OpenSnitch will report 2 connections made to that example.com host, 1 on port 53, and the other on port 443.
  6. Rejecting any of those 2 request with OpenSnitch will make the web fetch tool call fail

I understand that this is probably a very niche case of using fx, so I don't expect any fix, but if anyone can guide me to the right direction, it'd be greatly appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions