-
Notifications
You must be signed in to change notification settings - Fork 19
dns issue with wsl #52
Copy link
Copy link
Open
Labels
Description
Hi,
I'm trying to use greywall in wsl (ubuntu22.04), I'm using internal dns and vllm servers.
My local dns configuration is not applied in the greywall sandbox:
$ curl https://ai.internal.int/v1/models
{...}
$ greywall --profile opencode -- curl https://ai.internal.int/v1/models
curl: (6) Could not resolve host: ai.internal.intMy dns is configured with systemd
DNS= <local ip> in /etc/systemd/resolved.conf
which generates /etc/resolv.conf link to /run/systemd/resolve/resolv.conf
nameserver <local ip>
search .
Out of the sandbox:
dig @localhost -p 43053 ai.internal.int
; <<>> DiG 9.18.39-0ubuntu0.22.04.2-Ubuntu <<>> @localhost -p 43053 ai.internal.int
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 28594
;; flags: qr rd ra ad; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;ai.internal.int. IN A
;; AUTHORITY SECTION:
int. 3600 IN SOA sns.dns.icann.org. noc.dns.icann.org. 2026030636 3600 1800 604800 3600
;; Query time: 151 msec
;; SERVER: 127.0.0.1#43053(localhost) (UDP)
;; WHEN: Tue Mar 24 14:17:55 CET 2026
;; MSG SIZE rcvd: 118greyproxy doesn't use my dns configuration.
How can I manually configure the dns in the greyproxy ?
I'm running a build from main to solve #35
Reactions are currently unavailable